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 #591577] Sun, 08 February 2009 12:02
Jesper Eskilson is currently offline Jesper EskilsonFriend
Messages: 134
Registered: July 2009
Senior Member
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:Launching a standalone Java application
Next Topic:Recreating Plugin from existing JAR
Goto Forum:
  


Current Time: Tue Mar 19 02:53:26 GMT 2024

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

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

Back to the top