ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r997711 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/CacheResolver.java
Date Thu, 16 Sep 2010 12:19:06 GMT
Author: hibou
Date: Thu Sep 16 12:19:06 2010
New Revision: 997711

URL: http://svn.apache.org/viewvc?rev=997711&view=rev
Log:
IVY-1227 : configure the resolver so it actually has some pattern to "download" things

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/CacheResolver.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/CacheResolver.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/CacheResolver.java?rev=997711&r1=997710&r2=997711&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/CacheResolver.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/resolver/CacheResolver.java Thu Sep
16 12:19:06 2010
@@ -103,6 +103,7 @@ public class CacheResolver extends FileS
     }
 
     public DownloadReport download(Artifact[] artifacts, DownloadOptions options) {
+        ensureConfigured();
         clearArtifactAttempts();
         DownloadReport dr = new DownloadReport();
         for (int i = 0; i < artifacts.length; i++) {



Mime
View raw message