Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » Winstone-Osgi DEBUG(How to debug OSGI bundles )
Winstone-Osgi DEBUG [message #1095700] Tue, 27 August 2013 08:08
Borja Tellado is currently offline Borja Tellado
Messages: 1
Registered: August 2013
Junior Member
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
Previous Topic:Is it possible to develop eclipse by eclipse as a standard OSGi project
Next Topic:Class not found in Log4j configuration
Goto Forum:
  


Current Time: Wed Apr 23 19:44:55 EDT 2014

Powered by FUDForum. Page generated in 0.01457 seconds