move conclasspath at the beginning of .classpath file. JRE_CONTAINER always added
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@349324 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
63174a8ce4
commit
938f48e696
1 file changed
+5
-6
@@ -28,7 +28,11 @@
|
||||
|
||||
<classpath>
|
||||
|
||||
|
||||
<u:tokenize var="conclasspaths" delim=",">org.eclipse.jdt.launching.JRE_CONTAINER,${maven.eclipse.conclasspath}</u:tokenize>
|
||||
<j:forEach var="conclasspath" items="${conclasspaths}" trim="true">
|
||||
<classpathentry kind="con" path="${conclasspath}"/>
|
||||
</j:forEach>
|
||||
|
||||
<j:if test="${sourcesPresent}">
|
||||
<maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${pom.build.sourceDirectory}" separator="/"/>
|
||||
<j:set var="excluding" value=""/>
|
||||
@@ -104,11 +108,6 @@
|
||||
<ant:echo>Setting compile of ${testSrcDir} to ${testOutputDir}</ant:echo>
|
||||
<classpathentry kind="src" path="${testSrcDir}" output="${testOutputDir}"/>
|
||||
|
||||
<u:tokenize var="conclasspaths" delim=",">org.eclipse.jdt.launching.JRE_CONTAINER,${maven.eclipse.conclasspath}</u:tokenize>
|
||||
<j:forEach var="conclasspath" items="${conclasspaths}" trim="true">
|
||||
<classpathentry kind="con" path="${conclasspath}"/>
|
||||
</j:forEach>
|
||||
|
||||
<!-- Here are the rules:
|
||||
If the project has maven.eclipse.junit property, add that ver of junit
|
||||
If the project has maven.eclipse.junit property and it is empty, don't add junit
|
||||
|
||||
Reference in new issue
Block a user