You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ep...@apache.org on 2005/01/27 20:12:32 UTC

svn commit: r126755 - /maven/maven-1/plugins/trunk/eclipse/plugin.jelly /maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml

Author: epugh
Date: Thu Jan 27 11:12:30 2005
New Revision: 126755

URL: http://svn.apache.org/viewcvs?view=rev&rev=126755
Log:
MPECLIPSE-67 and MPECLIPSE-68.  Fixing eclipse:add-maven-repo goal for use with Eclipse 3.x
Modified:
   maven/maven-1/plugins/trunk/eclipse/plugin.jelly
   maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/eclipse/plugin.jelly
Url: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/eclipse/plugin.jelly?view=diff&rev=126755&p1=maven/maven-1/plugins/trunk/eclipse/plugin.jelly&r1=126754&p2=maven/maven-1/plugins/trunk/eclipse/plugin.jelly&r2=126755
==============================================================================
--- maven/maven-1/plugins/trunk/eclipse/plugin.jelly	(original)
+++ maven/maven-1/plugins/trunk/eclipse/plugin.jelly	Thu Jan 27 11:12:30 2005
@@ -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}" />

Modified: maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml
Url: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml?view=diff&rev=126755&p1=maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml&r1=126754&p2=maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml&r2=126755
==============================================================================
--- maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml	(original)
+++ maven/maven-1/plugins/trunk/eclipse/xdocs/changes.xml	Thu Jan 27 11:12:30 2005
@@ -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>    

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org