Bug 42875 - [DCR] The ability to save the .project and .classpath file in a different location
Summary: [DCR] The ability to save the .project and .classpath file in a different lo...
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M6   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-10 11:57 EDT by Wendell Beckwith CLA
Modified: 2003-12-11 17:02 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wendell Beckwith CLA 2003-09-10 11:57:56 EDT
I'm now in a company where they have a seperate directory where they store their
IDE project files in the repository.  Eclipse always (AFAICT) stores the
.project and .classpath in the root of the project.  It would be nice if this
was configurable as to the location (and possibly) the name of the project and
classpath files.
Comment 1 Philipe Mulet CLA 2003-09-19 07:22:28 EDT
You could alternatively leave them where they are, and use linked folders to 
mount your source folders into the project.

Project
 +- .classpath
 +- .project
 +- /src  (linked to C:/MySources/)
Comment 2 Wendell Beckwith CLA 2003-09-20 00:16:19 EDT
I've never used the linked folders functionality, so I was not aware of this. 
This does sound like it would work by allowing me to create an empty project in
the default location and then linking in the folders I need.  However sharing
the eclipse project and classpath files would be complicated since they wouldn't
be in the repository.  If my layout is the following is it still possible to use
linked folders:

project folder
  -  src/**/*.java
  -  ide/*    // .project and .classpath would need to go here
Comment 3 Philipe Mulet CLA 2003-09-22 05:30:01 EDT
Indeed this would not work. Linked folders are not (yet) supporting being under 
source control. The granularity for source control is the project.

The reason why you would want to push your Eclipse .project & .classpath files 
to the server is that these are meant to be shared amongst teammates. Your 
classpath is likely relevant to others as well who are working on the same 
code. And when using source folders, these are not living next to your source 
files anyway.
Comment 4 Philipe Mulet CLA 2003-12-11 17:02:10 EST
Closing as no plan to make this configurable for the time being.