Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Programatically launch Equinox from Eclipse
Programatically launch Equinox from Eclipse [message #63365] Sat, 11 March 2006 21:55
Félix Cuadrado is currently offline Félix CuadradoFriend
Messages: 12
Registered: July 2009
Junior Member
Hello, I am developing an Eclipse plug-in that allows the user to
configure an OSGi platform to test their developed bundles. The plug-in
currently supports Oscar and Knopflerfish frameworks and I am adding
Equinox support for the next version.
The code sets the VMRunnerConfiguration with EclipseStarter as the main
class and the org.eclipse.osgi plugin from the own Eclipse as the
classpath. The code sets the -configuration Equinox runtime option to the
reserved space that Eclipse reserves for the plug-in, and in that
directory it creates a config.ini file where the included bundles are
passed in the osgi.bundles property. Each bundle is declared by a url of
the file: method. I also include by default the property osgi.clean set to
true as I want to have a clean OSGi in each execution.
The code works perfectly on Linux, but it does not load the bundles in
Windows XP. When I look at the logfile there is a FileNotFoundException
for each declared bundle, and the path shown in the trace is relative to
the c:\eclipse\plugins folder, where the Equinox jar is located. I have
checked that the osgi.install.area and osgi.syspath properties are set to
this folder, but the same case applies when executing the plug-in in Linux
and it works perfectly.
Any help would be greatly appreciated.

Félix
Previous Topic:Getting the bundle from the classloader?
Next Topic:nested jars in OSGi
Goto Forum:
  


Current Time: Thu Apr 25 09:22:04 GMT 2024

Powered by FUDForum. Page generated in 0.03666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top