From ba97c2ed909cfaa0c736b658c3284adf63d3e550 Mon Sep 17 00:00:00 2001 From: mattinger Date: Tue, 24 Apr 2007 22:04:43 +0000 Subject: git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@112 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- src/java/net/sf/antcontrib/net/URLImportTask.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/java/net/sf') 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 { -- cgit v1.2.3