Bug 8783 - Availability to add source directories outside project root
Summary: Availability to add source directories outside project root
Status: RESOLVED DUPLICATE of bug 8450
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-30 14:43 EST by Gunnar Wagenknecht CLA
Modified: 2002-02-06 14:15 EST (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 Gunnar Wagenknecht CLA 2002-01-30 14:43:04 EST
It would be nice to have a general availability to add source directories to a 
project which are outside the project root.

I'm working with a extensive application environment that brings customized 
compile/make scripts with it. Please have a look at the following structure.

X:\Application - main Directory of the Application
X:\Application\src\Component_1\javasource
X:\Application\src\Component_2\javasource
X:\Application\src\Component_3\javasource
[...]
X:\Application\src\Component_N\javasource

It would be very usefull if I can add these source directorys to a Eclipse 
project without having to set the Eclipse project root to "X:\Application" 
because it is not a clean procedure to put Eclipse stuff into the directory of 
an application.

Also I would be nice to have another good advantage. I don't know how it's 
already implemented in Eclipse because I couldn't test it.

Eclipse should then merge the directory content "virtually" and should display 
packages belonging together as one "package" like the JVM does.

Example:

At "X:\Application\src\Component_1\javasource" there is package 
structure "com.company.product.component1" and 
at "X:\Application\src\Component_2\javasource" there 
is "com.company.product.component2".

Eclipse should merge them and should display "com.component.product" as 
expandable package name if there are no classes under "com.company.product". So 
I don't even have to expand "com" then expand "company" then 
expand "product" ...
Comment 1 Milan Fort CLA 2002-02-01 11:20:55 EST
I agree with Gunnar, I often need edit JSP/XML files directly on server, but 
too sources which are on my local disk. I must have two projects now.
Comment 2 Philipe Mulet CLA 2002-02-01 11:34:38 EST
JdtCore is relying on the Eclipse platform resource management. Therefore it 
cannot address this problem satisfactorily without platform support.

If platform was to generalize the possibility of dealing with resources outside 
the workspace (like it did for projects only), then we could address the Java 
side of it.

Currently we only tolerate JARs outside the workspace, because they are 
supposed to be immutable. Anything beyond that would not be doable.

Moving to Platform core for comments.
Comment 3 John Arthorne CLA 2002-02-06 14:15:28 EST

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