Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Re: Classpath in Launchconfiguration
Re: Classpath in Launchconfiguration [message #251563] Wed, 20 February 2008 11:59 Go 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 #251579 is a reply to message #251563] 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:3.4 M5 - Compiler error in cast
Next Topic:ClasspathContainer and "custom" entries (.tar archives)
Goto Forum:
  


Current Time: Tue Apr 22 13:31:30 EDT 2025

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

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

Back to the top