May 26th, 2010, 09:39 AM
How to set the class path in OSGi Container
I need to set the class path in System level using System.setProperty() in one bundle from other bundle where the class actually present.
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
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?