I go the other way.  I use the m2eclipse plugin, and then do a:

File -> Import -> Existing projects -> Maven Project, then select the root continuum folder.

I don't even use the maven-eclipse-plugin folder, as the m2eclipse folder just reads the pom files and sets it all up for me in eclipse. Generally I have found this to work with any maven project I have ever tried.

regards,
Christian.


On 13-Mar-08, at 17:24 , Olivier Lamy wrote:

After mvn eclipse:clean eclipse:eclipse.

File -> Import -> Existing projects into workspace -> select the root
directory (means continuum root folder).

Concerning issue with directory, right click on the project
continuum-legacy in eclipse.
Java Build Path -> look at the Source tab and here you have to excluse
the directory.

But it's weird. Perso I don't have the issue. Are you using a snapshot
version of the maven-eclipse-plugin ?

--
Olivier

2008/3/13, murali mohan <[EMAIL PROTECTED]>:
I also have problems in compiling the code in Eclipse because of the
hierarchichal project structure. I have not worked in such a proj structure in eclipse before. Can somebody help us in compiling/setting up the code in
Eclipse? This will help other new comers also.

BTW, i did an mvn eclipse:clean eclipse:eclipse from the root folder before opening in Eclipse. But eclipse stil does not seem to have got it right. mvn
compile works fine.

Murali.

On Thu, Mar 13, 2008 at 9:08 PM, Richard Slide <[EMAIL PROTECTED] >
wrote:


Hello all,

I'd like to import continuum-jpa source code in Eclipse and start to
modify
something.

After i download the source and compile the code with the command

mvn install -Dmaven.test.skip=true && mvn eclipse:eclipse

the build finish successfully i try to import the project in eclipse.

I put M2_REPO under the correct directory but during the compiling i get

following error
Cannot nest 'continuum-legacy/target/classes/META-INF' inside output
folder
'continuum-legacy/target/classes'

Now could you tell me please how to resolve this problem ?

For change the code do you an IDE ? If Yes which one ??

Cheers

--Richard




Reply via email to