Bug 181225 - Please re-open 78438 for comment. re: Allow .project file to not be at project root
Summary: Please re-open 78438 for comment. re: Allow .project file to not be at projec...
Status: RESOLVED DUPLICATE of bug 78438
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-05 11:31 EDT by Tim Kelly CLA
Modified: 2007-04-05 14:13 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Kelly CLA 2007-04-05 11:31:23 EDT
+++ This bug was initially created as a clone of Bug #78438 +++

Sorry if this is not the correct way to get a bug re-opened, but there were comments under bug 78438 that indicate the reason for closing it are incorrect.

Can someone on the eclipse platform please review this bug and suggest why having the ability to chagne the project root in the .project file is an invalid request? Or possibly suggest a workaround to this problem?

We are running into problems where it's not uncommon for a source base to contain projects that need the same source root for (literally) hundreds or projects. This forces users to continually close projects and re-create them becuase you cannot have two projects with the same root.

Why not just allow putting the the .project files under the workspace?

e.g.

Here you have two projects both of which have a root of \myproj\src\

\myproj\src\prj1\
\myproj\src\prj2\

Why not just allow the .project to be under the workspace?

e.g.

c:\workspace\prj1\.project
c:\workspace\prj2\.project

Thanks,
Tim
Comment 1 John Arthorne CLA 2007-04-05 14:09:53 EDT
That's easy to do. See Help > Help Contents > Java Development user Guide > Getting Started > Project configuration tutorial > Overlapping products in a common source tree
Comment 2 John Arthorne CLA 2007-04-05 14:11:50 EDT
I.e.,  leave the project location in the workspace, which will cause the .project and other Eclipse metadata files to be written there.  Then link in the source folder that contains the code.
Comment 3 John Arthorne CLA 2007-04-05 14:13:04 EDT

*** This bug has been marked as a duplicate of bug 78438 ***