Hello,
I've searched here and seen similar questions, but w/o answers...
I'm quite new to eclipse (day 2) but experienced in java ('till now
using vi + scripts). I don't yet see how to make eclipse fit with the
directory/package structure we use here, which has been roughly:
com.ourCompany.util
com.ourCompany.util.subPackage1
...
com.ourCompany.util.subPackageN
com.ourCompany.clientA
com.ourCompany.clientA.project1
com.ourCompany.clientA.project1.subPackageN
com.ourCompany.clientA.projectN
...
com.ourCompany.clientB
etc.
all of which are stuffed into, e.g. \c\develop
so, how can one (or can one?) use this directory structure with
eclipse? i've tried making the project root \c\develop, creating a
project "Dummy" and adding linked folders to it, but was unable to get
even the util package to work.
I suppose my ideal solution would to create projects
\c\develop\clientA, etc. and have eclipse keep all its stuff there (any
cvs,ant,junit,etc? stuff necessary, the .classpath, etc) but leave the
.java and .class files where we feel they belong.
I'm not really holding my breath, but perhaps someone can save eclipse
for me?
thanks,
-don.
Sebastian Millies - 19 Jan 2005 12:09 GMT
Am 18 Jan 2005 13:47:46 -0800 schrieb dexter@uwm.edu:
> Hello,
>
[quoted text clipped - 14 lines]
> ...
> com.ourCompany.clientB
Why not create an Eclipse project for each clientA.project1,
clientA.project2 etc.
Also create a project for ourCompany.util and reference it
from the other projects.
-- Sebastian
dexter@uwm.edu - 19 Jan 2005 20:28 GMT
thanks for such a quick response.
ok. what does the root directory for the projects end up being? i
guess i don't understand how eclipse maps projects to packages.
if my java code is all under, e.g. \c\develop, do i make this the base
directory for eclipse? if i do, then create a project called
clientA.Project1, doesn't this end up in \c\develop\clientA.Project1
(does eclipse turn a '.' in a *project* name into a path or just leave
it alone?)? whatever eclipse does w/ the '.', i still wouldn't (?) be
able to reference \c\develop\com\ourCompany\clientA\project1...
if i make the root directory \c\develop\com\ourCompany, then from that
base, the package names of com.ourCompany.xxx don't seem to make sense
to me...
i'm very confused. obviously.