Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Find out classpath of another Plugin?
Find out classpath of another Plugin? [message #290633] Sun, 28 August 2005 21:21 Go to next message
Robert Aust is currently offline Robert AustFriend
Messages: 17
Registered: July 2009
Junior Member
Hi there,
I am working on Eclipse 3.1 and am getting a bit confused about all
this bundle-stuff.
Is there a way for a plugin to find out about the (absolute)
class-path of another plugin?

I have a plugin A, that contains/defines some libraries.
Plugin B uses these libraries for some ui-stuff etc.

Now I want to build a launcher in B, that launches a JVM in an extra
process (like an external program) with the libraries of plugin A
specified as "-cp ...".

And, will this work also for a runtime-workspace, i.e. running these
plugins from the workspace, instead of having them "really" installed ?

Thanks for any help.
Robert
Re: Find out classpath of another Plugin? [message #290654 is a reply to message #290633] Mon, 29 August 2005 12:59 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

Robert Aust wrote:
>
> Hi there,
> I am working on Eclipse 3.1 and am getting a bit confused about all
> this bundle-stuff.
> Is there a way for a plugin to find out about the (absolute)
> class-path of another plugin?

You can get the plugin classpath out of the OSGi headers, check out this
thread:

http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg1 5812.html

Later,
PW


Previous Topic:building site failed under eclipse 3.1
Next Topic:How to write to the Console View
Goto Forum:
  


Current Time: Fri Apr 26 15:44:03 GMT 2024

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

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

Back to the top