Hi,

I'm using Maven 1.1.  In my root project folder, I have several
sub-projects, including service, model, and test folders.  If I am in the
root project level directory and run

maven eclipse:multiproject

".classpath" and ".project" files are created in each sub-directory, which
is good.  However if I open Eclipse, open the root level project folder,
then choose a source folder from one of the sub-projects, right click that
folder, select "Build Path" and "Use as Source Folder," everything breaks. 
That is, a ".classpath" file gets created at the root project level
directory and Eclipse seems to ignore the sub-project ".classpath" level
fiels that get created.  I know this because Eclipse starts giving me
compile errors for my import statements, complaining that it cannot resolve
certain package names.

Any idea how to get Eclipse to read both .classpath files -- the one in the
root and the one in the sub-project?  Or, is there a command I can run to
build all classpath entries into the root project level .classpath file
instead of one in each of the sub-project folders?

Thanks, - Dave
-- 
View this message in context: 
http://old.nabble.com/Maven-eclipse%3Amultiproject-question-tp26321079p26321079.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to