From f157b140f3691575b4034e4119fd4421cc09a4ca Mon Sep 17 00:00:00 2001 From: mattinger Date: Wed, 25 Apr 2007 17:57:41 +0000 Subject: git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@117 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- src/java/net/sf/antcontrib/net/URLImportTask.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/java/net/sf/antcontrib/net/URLImportTask.java b/src/java/net/sf/antcontrib/net/URLImportTask.java index 6114368..55ed483 100755 --- a/src/java/net/sf/antcontrib/net/URLImportTask.java +++ b/src/java/net/sf/antcontrib/net/URLImportTask.java @@ -30,7 +30,6 @@ import org.apache.tools.ant.types.FileSet; import fr.jayasoft.ivy.ant.IvyCacheFileset; import fr.jayasoft.ivy.ant.IvyConfigure; -import fr.jayasoft.ivy.ant.IvyResolve; /*** * Task to import a build file from a url. The build file can be a build.xml, @@ -48,13 +47,12 @@ public class URLImportTask private String conf = "default"; private String type = "jar"; private String repositoryUrl; - private String repositoryDir; + private File repositoryDir; private URL ivyConfUrl; private File ivyConfFile; private String resource = "build.xml"; private String artifactPattern = "/[org]/[module]/[ext]s/[module]-[revision].[ext]"; private String ivyPattern = "/[org]/[module]/ivy-[revision].xml"; - private boolean verbose = false; public void setVerbose(boolean verbose) { this.verbose = verbose; @@ -92,7 +90,7 @@ public class URLImportTask this.ivyPattern = ivyPattern; } - public void setRepositoryDir(String repositoryDir) { + public void setRepositoryDir(File repositoryDir) { this.repositoryDir = repositoryDir; } -- cgit v1.2.3