Launching a standalone Java application [message #45623] |
Sun, 08 February 2009 12:02 |
Eclipse User |
|
|
|
Originally posted by: jesper.eskilson.iar.com
I'm not sure I'm asking this in the right place; please correct me if
there's a better place.
The situation is like this: given a running Eclipse (call it
"PARENT"), I would like to launch a standalone Java application
("CHILD"), with a classpath containing (a subset of) Java code from
plugins in PARENT.
How do I know what to set the CHILD's classpath to? In PARENT, when
the plugin starts, I can do:
context.getBundle().getLocation()
and the result is something like:
reference:file:/home/jesperes/.../com.iar.ide.debugger.kerne l/
but since it is a String, I'm unsure how to proceed with it such that
it also works when packaging the plugins as a product, for example.
Thanks,
--
/Jesper
|
|
|
Powered by
FUDForum. Page generated in 0.02786 seconds