ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r992032 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathResolver.java
Date Thu, 02 Sep 2010 17:49:20 GMT
Author: hibou
Date: Thu Sep  2 17:49:19 2010
New Revision: 992032

URL: http://svn.apache.org/viewvc?rev=992032&view=rev
Log:
Do not retrieve is we don't want to

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

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathResolver.java?rev=992032&r1=992031&r2=992032&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathResolver.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathResolver.java
Thu Sep  2 17:49:19 2010
@@ -47,9 +47,11 @@ public class IvyClasspathResolver extend
         this.ivycp = ivycp;
         this.conf = ivycp.getConf();
         setUsePreviousResolveIfExist(usePreviousResolveIfExist);
-        setRetrievePattern(conf.getRetrievedClasspathSetup().getRetrievePattern());
-        setRetrieveSync(conf.getRetrievedClasspathSetup().isRetrieveSync());
-        setRetrieveTypes(conf.getRetrievedClasspathSetup().getRetrieveTypes());
+        if (conf.isRetrievedClasspath()) {
+            setRetrievePattern(conf.getRetrievedClasspathSetup().getRetrievePattern());
+            setRetrieveSync(conf.getRetrievedClasspathSetup().isRetrieveSync());
+            setRetrieveTypes(conf.getRetrievedClasspathSetup().getRetrieveTypes());
+        }
     }
 
     protected void postResolveOrRefresh(Ivy ivy, ModuleDescriptor md, ResolveResult resolveResult,



Mime
View raw message