Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Launching a standalone Java application
Launching a standalone Java application [message #45623] Sun, 08 February 2009 12:02
Eclipse UserFriend
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
Previous Topic:headless compilation: equinox launcher version
Next Topic:Launching a standalone Java application
Goto Forum:
  


Current Time: Sat Dec 21 15:01:57 GMT 2024

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

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

Back to the top