summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-04-24 22:04:43 +0000
committermattinger <[email protected]>2007-04-24 22:04:43 +0000
commitba97c2ed909cfaa0c736b658c3284adf63d3e550 (patch)
treefe071bb943b4fb4be15f6ae93f0f8cf48bbb40ce
parent552ef5ca5067338b344c89cb66b4e56be201ea2f (diff)
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@112 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rwxr-xr-xsrc/java/net/sf/antcontrib/net/URLImportTask.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/net/sf/antcontrib/net/URLImportTask.java b/src/java/net/sf/antcontrib/net/URLImportTask.java
index b64c6a8..25658e6 100755
--- a/src/java/net/sf/antcontrib/net/URLImportTask.java
+++ b/src/java/net/sf/antcontrib/net/URLImportTask.java
@@ -37,6 +37,7 @@ import fr.jayasoft.ivy.ModuleRevisionId;
import fr.jayasoft.ivy.filter.FilterHelper;
import fr.jayasoft.ivy.report.ResolveReport;
import fr.jayasoft.ivy.repository.Repository;
+import fr.jayasoft.ivy.resolver.CacheResolver;
import fr.jayasoft.ivy.resolver.FileSystemResolver;
import fr.jayasoft.ivy.resolver.IvyRepResolver;
import fr.jayasoft.ivy.resolver.URLResolver;
@@ -199,6 +200,7 @@ public class URLImportTask
resolver.setName("default");
ivy.addResolver(resolver);
ivy.setDefaultResolver(resolver.getName());
+ ivy.addResolver(new CacheResolver());
try {