You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by hi...@apache.org on 2010/09/02 19:49:20 UTC

svn commit: r992032 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/cpcontainer/IvyClasspathResolver.java

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,