SF.net SVN: ant-contrib: [117] trunk/ant-contrib/src/java/net/sf/antcontrib /net/URLImportTask.java
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 117
http://svn.sourceforge.net/ant-contrib/?rev=117&view=rev
Author: mattinger
Date: 2007-04-25 10:57:41 -0700 (Wed, 25 Apr 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java
Modified: trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java
===================================================================
--- trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java 2007-04-25 17:56:47 UTC (rev 116)
+++ trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java 2007-04-25 17:57:41 UTC (rev 117)
@@ -30,7 +30,6 @@
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 @@
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 @@
this.ivyPattern = ivyPattern;
}
- public void setRepositoryDir(String repositoryDir) {
+ public void setRepositoryDir(File repositoryDir) {
this.repositoryDir = repositoryDir;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/