You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-commits@incubator.apache.org by xa...@apache.org on 2007/04/01 17:39:20 UTC

svn commit: r524642 - /incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java

Author: xavier
Date: Sun Apr  1 10:39:19 2007
New Revision: 524642

URL: http://svn.apache.org/viewvc?view=rev&rev=524642
Log:
FIX: minor problem with IVY-458 fix, setFile should only be called if we are not doing an inline post resolve

Modified:
    incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java

Modified: incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java
URL: http://svn.apache.org/viewvc/incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java?view=diff&rev=524642&r1=524641&r2=524642
==============================================================================
--- incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java (original)
+++ incubator/ivy/core/trunk/src/java/org/apache/ivy/ant/IvyPostResolveTask.java Sun Apr  1 10:39:19 2007
@@ -166,6 +166,7 @@
         
         if (confs.length > 0)  {
         	IvyResolve resolve = createResolve(haltOnFailure, useOrigin);
+    		resolve.setFile(_file);
         	resolve.setCache(cache);
         	resolve.setTransitive(transitive);
         	resolve.setConf(StringUtils.join(confs, ", "));
@@ -229,7 +230,6 @@
 		resolve.setHaltonfailure(haltOnFailure);
 		resolve.setUseOrigin(useOrigin);
 		resolve.setValidate(isValidate());
-		resolve.setFile(_file);
 		return resolve;
 	}