Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Classpath in Launchconfiguration
Classpath in Launchconfiguration [message #325502] Wed, 20 February 2008 09:05 Go to next message
Eclipse UserFriend
Originally posted by: invone2000.yahoo.de

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
Re: Classpath in Launchconfiguration [message #325507 is a reply to message #325502] Wed, 20 February 2008 11:59 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: Classpath in Launchconfiguration [message #325525 is a reply to message #325507] Thu, 21 February 2008 00:48 Go to previous message
Eclipse UserFriend
Originally posted by: invone2000.yahoo.de

Hmm,

I think this is to complicated. I just want to have a classpath entry
(string based) which addresses the binaries of the current plugin.

R4ID
Previous Topic:Table Viewer Layout !!
Next Topic:ruler columns
Goto Forum:
  


Current Time: Wed Apr 30 02:56:58 EDT 2025

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

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

Back to the top