Question on starting Equinox from Java Application [message #100312] |
Thu, 25 October 2007 03:33  |
Eclipse User |
|
|
|
Hi all,
I've followed tutorial
http://www.eclipsezone.com/eclipse/forums/t93976.rhtml to enable me to
start Equinox programmatically (Thanks Alex). I have the following
questions :
1. One of my bundles (Jetty) needs a parameter that tells it to open at
the specified port. When I launch Equinox from Eclipse I only have to put
"-Dorg.osgi.service.http.port=8080" at the VM arguments section. How do I
pass the parameter through code ?
2. One of my bundles actually points to an Eclipse plugin project that's
not jarred yet. Since installBundle method apparently expects url that
points to jar files, how do I tell Equinox to install this bundle ?
3. Since starting this Equinox takes place on startup method of a TestCase
class, do I have to call each bundle's stop method on teardown method or
is just calling EclipseStarter.shutdown enough ?
Any help would be greatly appreciated.
Best Regards,
Setya
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10609 seconds