Winstone-Osgi DEBUG [message #1095700] |
Tue, 27 August 2013 12:08 |
Eclipse User |
|
|
|
Hi,
I have a Winstone server that launches, as well as the obix server, the OSGI framework, install and run some well probed OSGI bundles, in addition I would like to launch some other bundles in debug mode within the Eclipse IDE. The bundles that I want to launch (with the IDE)in debug mode make use of some resources created by the Winstone, so it doesn't work.
If I launch all the bundles in by the Winstone laucher, it works, the bundles are activated but I don't know how to debug them.
Spin code for Osgi framework launch from Winstone initialization process:
Map<String, String> config = new HashMap<String, String>();
config.put("org.osgi.framework.system.packages.extra","package.to.be.started.by.winstone");
config.put("org.osgi.framework.bootdelegation","package.to.be.
started.by.winstone");
config.put("osgi.java.profile.bootdelegation","override");
framework = frameworkFactory.newFramework(config);
framework.start();
How can I tell to my IDE to use the osgi framework started by a different process?
Regards
|
|
|
Powered by
FUDForum. Page generated in 0.03044 seconds