ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1406862 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java
Date Wed, 07 Nov 2012 23:19:59 GMT
Author: hibou
Date: Wed Nov  7 23:19:59 2012
New Revision: 1406862

URL: http://svn.apache.org/viewvc?rev=1406862&view=rev
Log:
Remove the upgrade of the .classpath since it produces a lot of trouble

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java?rev=1406862&r1=1406861&r2=1406862&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathInitializer.java
Wed Nov  7 23:19:59 2012
@@ -115,13 +115,17 @@ public class IvyClasspathInitializer ext
                     }
                 }
 
+                // FIXME : container path upgrade removed since it seems to make some trouble:
+                // containers get either uninitialized or initialized twice...
+
                 // recompute the path as it may have been "upgraded"
-                IPath updatedPath = IvyClasspathContainerConfAdapter.getPath(ivycp.getConf());
-                if (!updatedPath.equals(containerPath)) {
-                    IvyDEMessage.verbose("Upgrading container path from " + containerPath
+ " to " + updatedPath);
-                    updateIvyDEContainerPath(project, entry, attributes, exported, updatedPath);
-                    return;
-                }
+                // IPath updatedPath = IvyClasspathContainerConfAdapter.getPath(ivycp.getConf());
+                // if (!updatedPath.equals(containerPath)) {
+                // IvyDEMessage.verbose("Upgrading container path from " + containerPath
+ " to " +
+                // updatedPath);
+                // updateIvyDEContainerPath(project, entry, attributes, exported, updatedPath);
+                // return;
+                // }
 
                 IvyDEMessage.verbose("Setting container in JDT model");
 



Mime
View raw message