Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » include .project and .classpath in cvs commit?
include .project and .classpath in cvs commit? [message #213328] Fri, 19 March 2004 01:28 Go to next message
Eclipse UserFriend
Why does the FAQ suggest this?

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-vcm-home
/docs/online/cvs_features2.0/cvs-faq.html#misc_1

I created an Eclipse Java project at work and checked it in. Now I am at
home and I checked it out.

Can I build? No.

The "JRE System Library" that was created when with the project at work
does not work at home. My disk names are different and so nothing builds.

Further I am fairly new at this, so I cannot seem to find how to either
re-create the JRE System Library, or copy it from another project which
was created here. I tried creating another project which inckuded it and
adding that project to my build dependencies, but that did not work
either.

Why would anyone suggest that something machine-specific shoud get
checked in? Seems like a good way to screw with your co-workers....
Re: include .project and .classpath in cvs commit? [message #213339 is a reply to message #213328] Fri, 19 March 2004 01:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: burner.zclipse.org

On Thu, 18 Mar 2004 22:28:58 -0800, Ray Kiddy wrote:

> Why would anyone suggest that something machine-specific shoud get
> checked in? Seems like a good way to screw with your co-workers....

Certainly, you should be careful not to put machine specific information
in the settings for a shared project.

I've been sharing .project and .classpath files for a couple years now,
and there were some hiccups at first as my teammates and I figured out
what was and was not local, but I have never had a problem with the JRE
system library.

On the other hand, I've always had my project just use the workspace
default JRE, specifically because I wouldn't want others to have to name
their JREs the same way I name mine.

Try using the default JRE for your projects and you should be fine.

mike
--
http://zclipse.org
Re: include .project and .classpath in cvs commit? [message #213378 is a reply to message #213328] Fri, 19 March 2004 03:50 Go to previous message
Eclipse UserFriend
Ray Kiddy wrote:

> The "JRE System Library" that was created when with the project at
> work does not work at home. My disk names are different and so
> nothing builds.

The classpath of the project should just reference the classpath variable
that is automatically defined when you configure your standard JRE.

I don't know what went wrong with your project, but it's certainly not the
way it should be.

Take care, Ilja
Previous Topic:Problem with 3M7
Next Topic:How to launch a class selector dialog?
Goto Forum:
  


Current Time: Fri May 16 06:41:56 EDT 2025

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

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

Back to the top