summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-04-25 14:40:43 +0000
committermattinger <[email protected]>2007-04-25 14:40:43 +0000
commit1224a38fcba8916add87b37d66b21c7a740205be (patch)
tree25bf8069ef8d2f504a16508e0a836e5f4df784f5
parent348c0ff689a0cad607591c3e6c8724b523069454 (diff)
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@114 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rwxr-xr-xsrc/java/net/sf/antcontrib/net/URLImportTask.java26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/java/net/sf/antcontrib/net/URLImportTask.java b/src/java/net/sf/antcontrib/net/URLImportTask.java
index ea66f65..3670bfd 100755
--- a/src/java/net/sf/antcontrib/net/URLImportTask.java
+++ b/src/java/net/sf/antcontrib/net/URLImportTask.java
@@ -19,12 +19,7 @@ import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.net.MalformedURLException;
-import java.net.NoRouteToHostException;
import java.net.URL;
-import java.net.UnknownHostException;
-import java.text.ParseException;
-import java.util.Date;
-import java.util.List;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.DirectoryScanner;
@@ -33,24 +28,9 @@ import org.apache.tools.ant.taskdefs.Expand;
import org.apache.tools.ant.taskdefs.ImportTask;
import org.apache.tools.ant.types.FileSet;
-import fr.jayasoft.ivy.Artifact;
-import fr.jayasoft.ivy.DependencyResolver;
-import fr.jayasoft.ivy.Ivy;
-import fr.jayasoft.ivy.IvyContext;
-import fr.jayasoft.ivy.ModuleDescriptor;
-import fr.jayasoft.ivy.ModuleId;
-import fr.jayasoft.ivy.ModuleRevisionId;
import fr.jayasoft.ivy.ant.IvyCacheFileset;
import fr.jayasoft.ivy.ant.IvyConfigure;
import fr.jayasoft.ivy.ant.IvyResolve;
-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;
-import fr.jayasoft.ivy.util.MessageImpl;
/***
* Task to import a build file from a url. The build file can be a build.xml,
@@ -248,7 +228,6 @@ public class URLImportTask
resolve.setFile(ivyFile);
resolve.execute();
- System.out.println("executing cachefileset");
IvyCacheFileset cacheFileSet = new IvyCacheFileset();
cacheFileSet.setProject(getProject());
cacheFileSet.setLocation(getLocation());
@@ -257,7 +236,6 @@ public class URLImportTask
cacheFileSet.init();
cacheFileSet.setSetid(org + module + rev + ".fileset");
cacheFileSet.execute();
- System.out.println("executed cachefileset");
FileSet fileset =
(FileSet) getProject().getReference(org + module + rev + ".fileset");
@@ -277,19 +255,15 @@ public class URLImportTask
new MessageImpl() {
public void endProgress(String arg0) {
- // TODO Auto-generated method stub
}
public void log(String arg0, int arg1) {
getProject().log(arg0, arg1);
- // TODO Auto-generated method stub
}
public void progress() {
- // TODO Auto-generated method stub
-
}
public void rawlog(String arg0, int arg1) {