summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-04-25 17:57:41 +0000
committermattinger <[email protected]>2007-04-25 17:57:41 +0000
commitf157b140f3691575b4034e4119fd4421cc09a4ca (patch)
tree7a7c677dc43b05de596af35a3e6b2d61b1119275 /src
parentae01e448fc655abe2cdf5fee708b4c6c45212a60 (diff)
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@117 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'src')
-rwxr-xr-xsrc/java/net/sf/antcontrib/net/URLImportTask.java6
1 files 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;
}