diff options
Diffstat (limited to 'src/java/net/sf/antcontrib/net/URLImportTask.java')
-rwxr-xr-x | src/java/net/sf/antcontrib/net/URLImportTask.java | 2 |
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 {
|