Hi folks,
When I perform a "mvn eclipse:eclipse" command in our "argus-core"
project, Eclipse bugs on the generated .classpath file. This is what's
generated:
<classpath>
<classpathentry kind="src" path="."/>
<classpathentry kind="src"
path="resources/configuration/syst"
output="target/test-classes"/>
<classpathentry kind="src" path="src/java"/>
<classpathentry kind="src"
path="src/test"
output="target/test-classes"/>
<classpathentry kind="output" path="target/classes"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="var"
path="M2_REPO/commons-beanutils/commons-beanutils/1.6.1/commons-beanutils-1.6.1.jar"/>
<classpathentry kind="var"
path="M2_REPO/concurrent/backport-util-concurrent/2.0_01/backport-util-concurrent-2.0_01.jar"/>
[ snipped a lot more .jar files]
</classpath>
The error that Eclipse gives me is:
"Cannot nest 'argus-core/resources/configuration/syst' inside
'argus-core'. To enable the nesting exclude 'resources/' from 'argus-core'"
If I remove this line:
<classpathentry kind="src" path="."/>
from the .classpath file, Eclipse accepts it and everything works fine.
Is there any way to get M2 to create the proper .classpath in the first
place?
Greetings,
--
Sybren Stüvel <[EMAIL PROTECTED]>
Software Engineer CHESS iBusiness
Nieuwe Gracht 13, Haarlem
Postbus 5021, 2000 CA Haarlem
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]