Two external java projects in the same dir tree [message #71400] |
Mon, 30 May 2005 13:28  |
Eclipse User |
|
|
|
Originally posted by: torf.torfbold.com
I'm just starting to use Eclipse and I'm now trying to import all my
existing projects. In the past, I've organized *all* my java sources in
one source tree, which reflects the package hierarchy. So it looks like
that:
somedir/
com/
torfbold/
project1/
...
project2/
...
org/
imp/
project3
...
My goal is to have one Eclipse-project for each of those projects in the
source-tree. I started with importing project1: To get the packages
right, I choose "somedir" as directory to import from, and excluded
directories other than those of project1. That worked fine.
But when I know try to import project2 the same way, I only get the
message "somedir/com and somedir/com overlap", and I'm not allowed to
proceed any further.
Am I only allowed to create projects which don't share directories?
Any tips on how to solve the problem are appreciated.
Greetings,
Florian
|
|
|
|
Re: Two external java projects in the same dir tree [message #71474 is a reply to message #71400] |
Mon, 30 May 2005 14:51  |
Eclipse User |
|
|
|
"Florian Brucker" < wrote:
> Am I only allowed to create projects which don't share directories?
No, you can play with the inclusion/exclusion features of the source folders
tabs in the Java build path properties of your projects. That is going to be
hairy.
Honestly, you are having a setup that sounds very un-common to me, eclipse
or not.
The notion of project in Eclipse's java development tool is more than just a
source tree.
I would encourage you to read the fine documentation on that topic and play
with the example projects, and wizards to get a better understanding of how
eclipse works.
|
|
|
Powered by
FUDForum. Page generated in 0.07404 seconds