Announcement Announcement Module
Collapse
No announcement yet.
How to set the class path in OSGi Container Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to set the class path in OSGi Container

    Hi All,

    I need to set the class path in System level using System.setProperty() in one bundle from other bundle where the class actually present.

    For Example,

    I have one bundle called test.jar, in that i have com.test.Test.class

    In other bundle, i need to set the System property of Test.class like

    System.setProperty("keys",Test.class.getName());

    How we can set this in OSGi container, because in the runtime,class will be available in /root/springsource-dm-server-2.0.0.RELEASE/work/osgi/configuration/org.eclipse.osgi/bundles/38/data/store/org.eclipse.osgi/bundles/131/1/bundlefile/com/test/Test.class

    Can anyone please help on this?

    Regards,
    Riyaz
Working...
X