Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Sharing .classpath file and creating classpath variables
Sharing .classpath file and creating classpath variables [message #190120] Thu, 25 January 2007 22:22 Go to next message
Eclipse UserFriend
Originally posted by: anf4.cornell.edu

Hello, and thanks in advance for your help.

I'm using Eclipse version 3.1.2, and working in a small team on a project
that uses JDK 1.4.2. This is not my primary JRE, so in my .classpath
file, the following entry is created:

<classpathentry kind="con"
path=" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.inte rnal.debug.ui.launcher.StandardVMType/JDK
1.4.2 Update 5"/>

I know how to create a classpath variable, but I'm not quite sure how to
create a variable to represent my JDK, so that we can share the .classpath
file in the repository. Does anyone have any ideas on how to go about
this?

Thanks for your help,
Anthony Frasso
Re: Sharing .classpath file and creating classpath variables [message #190249 is a reply to message #190120] Fri, 26 January 2007 18:41 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Anthony Frasso wrote:
> Hello, and thanks in advance for your help.
>
> I'm using Eclipse version 3.1.2, and working in a small team on a
> project that uses JDK 1.4.2. This is not my primary JRE, so in my
> .classpath file, the following entry is created:
>
> <classpathentry kind="con"
> path=" org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.inte rnal.debug.ui.launcher.StandardVMType/JDK
> 1.4.2 Update 5"/>
>
> I know how to create a classpath variable, but I'm not quite sure how to
> create a variable to represent my JDK, so that we can share the
> .classpath file in the repository. Does anyone have any ideas on how to
> go about this?

In the Installed JREs section of your Preferences, each JRE/JDK is given
a user-editable name. The way to handle different configurations on
different developer machines is to agree on a name for the desired
JRE(s) (just as with a classpath variable) and then have each developer
define a JRE using that name. If you look carefully at the .classpath
entry, you'll see that the JRE name is used as the last part of the path
attribute.

Hope this helps,
Eric
Previous Topic:Migrate old project from 3.1.2 to 3.2
Next Topic:Installation problem
Goto Forum:
  


Current Time: Sat Apr 20 01:39:51 GMT 2024

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

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

Back to the top