MPECLIPSE-67 and MPECLIPSE-68. Fixing eclipse:add-maven-repo goal for use with Eclipse 3.x
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@126755 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8de8d7fd02
commit
ab0e4a7220
@ -240,7 +240,12 @@
|
||||
<j:set var="ws" value="${maven.eclipse.workspace}X" />
|
||||
<j:choose>
|
||||
<j:when test='${ws != "X"}'>
|
||||
<j:set var="variableFile" value="${maven.eclipse.workspace}/.metadata/.plugins/org.eclipse.jdt.core/pref_store.ini" />
|
||||
<j:set var="variableDir" value="${maven.eclipse.workspace}/.metadata/.plugins/org.eclipse.core.runtime/.settings/" />
|
||||
<j:set var="variableFile" value="${variableDir}/org.eclipse.jdt.core.prefs" />
|
||||
<!-- create the Eclipse property file if it is missing -->
|
||||
<ant:mkdir dir="${variableDir}"/>
|
||||
<ant:touch file="${variableFile}"/>
|
||||
|
||||
<ant:propertyfile file="${variableFile}">
|
||||
<ant:entry key="org.eclipse.jdt.core.classpathVariable.MAVEN_REPO"
|
||||
default="${maven.repo.local}" />
|
||||
|
||||
@ -25,6 +25,9 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.10" date="IN CVS">
|
||||
<action dev="epugh" type="fix" issue="MPECLIPSE-68">eclipse:add-maven-repo doesn't update correct Eclipse property file for Eclipse 3.x
|
||||
<action dev="epugh" type="fix" issue="MPECLIPSE-67">add-maven-repo fails if Eclipse hasn't been started yet. Property file needs to be created
|
||||
by the plugin.
|
||||
<action dev="epugh" type="fix" issue="MPECLIPSE-56" due-to="Archimedes Trajano">Only create .classpath and javabuilder if sources are present
|
||||
</action>
|
||||
</release>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user