Re: Classpath in Launchconfiguration [message #251563] |
Wed, 20 February 2008 11:59  |
Eclipse User |
|
|
|
Hi R4ID,
I'm not sure I correctly understand the problem. As my understanding goes:
(*) The main class is in your plugin
(*) You create a launch configuration in the target workspace and the
user runs it
In this case, create a Classpath Container (extensino
org.eclipse.jdt.core.classpathContainerInitializer) and add the library
to the classpath of the java project in your users workspace.
This question is more appropriate to the jdt newsgroup. Copying them as well
- Prakash
Eclipse Tips: http://blog.cypal-solutions.com
Eclipse Search: http://www.cypal.in/eclipsesearch
R4ID wrote:
> Hi!
>
> I have a launch configuration created in a new plugin. Now there resides
> a class containing a main method.
> I want to call now this class and am seeking for a possibility to set
> the classpath correctly...
>
> I thought about using the ${eclipse_home} variable and referencing the
> plugin directly in the plugins folder. But I think there must be a more
> comfortable way to perform this...
> I don't want to bother the user to identify the classpath via a
> classpath tab himself.
>
> Cheers
> R4ID
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02926 seconds