importing existing (non eclipse) project? [message #199713] |
Mon, 23 February 2004 06:20  |
Eclipse User |
|
|
|
Originally posted by: m.brinkers.pobox.com
I have problems importing existing (non eclipse) projects into eclipse.
For example when I import jboss project ie. the complete source, the
compiler always complains about invalid packages. The reason is that
the jboss directory structure does not have a single src directory. It
has lots of sub-dirs with lots of src directories.
One approach would be to import each src directory one after the other
but this is a lot of work and its easy to miss a source directory.
Is it possible for the import action to infer the correct packages and
create the correct source folders?
Am I doing something wrong or is the import of non-eclipse projects not
an easy thing to do?
Thanks
Martijn Brinkers
|
|
|
|
|
|
|
Re: importing existing (non eclipse) project? [message #200295 is a reply to message #199942] |
Mon, 23 February 2004 18:05  |
Eclipse User |
|
|
|
Originally posted by: eclipse-user.jibeinc.com
Martijn Brinkers wrote:
> The 'problem' is that there are multiple source dirs ( >> 20 ) which
> takes a lot of time to specify even when you know exactly what the
> source directories are.
Then I'm not sure what you'd expect Eclipse to do. I don't think it is
reasonable to expect it to examine an entire directory tree and somehow
figure out which directories would be source ones, especially since I
don't think it is required that source file directories follow the
package structure like class files do. IOW, I think it is possible to
put all source files in one directory - not a _good_ idea, but still legal.
In any case, a project that has that many different source directories
has some organizational problems, IMHO. Perhaps it should be multiple
Projects instead of one big one. Or perhaps not all of the source needs
to be compiled all the time (some of it may be tools, optional, tests, etc.)
HTH,
Eric
--
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com
|
|
|
Powered by
FUDForum. Page generated in 0.03853 seconds