Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Use restricted classes in Kura

Hi Dave,

thanks for the links. I was actually thinking too complicated, it was solved by setting Bundle-RequiredExecutionEnvironment: JavaSE-1.7 and then importing the packages in the Manifest.

Best,
Kevin

On 26 Jul 2016, at 19:35, Woodard, David <David.Woodard@xxxxxxxxxxxx> wrote:

Hi Kevin,

Sorry for the delayed response, did you resolve your issue? Along with the Stackoverflow response, I also found this Eclipse bug [1] that may be helpful. There also appears to be OSGi bundles for the JAXB spec [2]. If you continue to have issues, please report the errors you are seeing.


Thanks,
--Dave

On Jul 23, 2016, at 16:05, Kevin Read <me@xxxxxxxxxxxxxx> wrote:

Hi all,

I built some code on JAXB and am trying to get it to run the bundle in Kura. The javax.xml.bind package isn’t normally visible under OSGi apparently. I’ve tried the hint in http://stackoverflow.com/questions/33804801/kura-use-of-classes-under-the-package-com-sun-net-httpserver-in-an-osgi-bun and added this line to my start_kura.sh as parameter to the java call:

-Dorg.osgi.framework.system.packages.extra=javax.xml.bind

I also tried adding it as a property in config.ini. The package still cannot be found. I’d appreciate pointers to what I’m doing wrong :)

Thanks and best,
Kevin

_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev

_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


Back to the top