one source tree, one class tree, multiple projects [message #16957] |
Wed, 07 May 2003 18:19  |
Eclipse User |
|
|
|
Originally posted by: tgm1024SiteNameMispelled.hotmale.com
eclipse 2.1, java, windows
I'm a long time java cafe user trying to switch over to eclipse.
AFAICT so far regarding eclipse projects, everything defaults to being a
subdirectory of the project directory.
There seems to be a way to add a source directory link in the project that
links to a directory elsewhere in the file system, but I am having a hard
time understanding:
1. why on earth should this even be an issue. Why this paradigm??
Shouldn't I just be able to add /any/ file to /any/ project without jumping
through this particular hoop?
and
2. Do I have to do this for every project? And in that project, do I have
to do that for every single directory in the source tree that I want in my
project? Where in the help does it show me that details on how to set up
the system with multiple projects and one source tree?
Thanks
|
|
|
Re: one source tree, one class tree, multiple projects [message #17806 is a reply to message #16957] |
Thu, 08 May 2003 18:40  |
Eclipse User |
|
|
|
AFAIK its not possible to have various projects using the same
resources. The deal is, a resource is a file owned by a project. The
resource is build by this project.
>1. why on earth should this even be an issue. Why this paradigm??
>Shouldn't I just be able to add /any/ file to /any/ project without jumping
>through this particular hoop?
I believe it was choosen to advocate a certain style of project. Why
on earth would you try to spread classes all over the file system?
Yesyes, historic reasons, flexibility. On win2k you could use
junctions to create symlinks of directories, but that would be
cheating.
If projects want to use the same classes there should be a library. Or
you could use projects with reference other projects (in the past
cycles in those references were forbidden, do not know the present)
>2. Do I have to do this for every project? And in that project, do I have
>to do that for every single directory in the source tree that I want in my
>project? Where in the help does it show me that details on how to set up
>the system with multiple projects and one source tree?
There is a section about linked resources (search for) in the help
martin
|
|
|
Powered by
FUDForum. Page generated in 0.03758 seconds