Hi,

I just tried and I got the correct .classpath files:

<classpath>
<classpathentry kind="src" path="src/test/java" output="target/test-classes" including="**/*.java"/>
 <classpathentry kind="src" path="src/main/java" including="**/*.java"/>
<classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/> <classpathentry kind="src" path="." including="LICENSE|NOTICE|MANIFEST.MF" excluding="**/*.java"/>
 <classpathentry kind="output" path="target/classes"/>
<classpathentry kind="var" path="M2_REPO/junit/junit/4.5/junit-4.5.jar" sourcepath="M2_REPO/junit/junit/4.5/junit-4.5-sources.jar"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
</classpath>

Can you try the following?

mvn eclipse:clean
mvn -Peclipse -U

Thanks,
Raymond
--------------------------------------------------
From: "Mike Edwards" <[email protected]>
Sent: Wednesday, April 22, 2009 8:57 AM
To: <[email protected]>
Subject: Unexpected entries in .classpath files when running mvn -Peclipse - HELP PLEASE

Folks,

I ran a full build against Tuscany 2.0 after doing svn update earlier today - and then executed mvn -Peclipse against the result.

The generated .classpath files for the Eclipse projects all contained this entry:

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>


I didn't used to get these entries in previous builds - and they screw my Eclipse system, which is universally using JDK 6.x.

Any idea why these entries are turning up - and more importantly, how to get rid of them?


Yours, Mike.

Reply via email to