From d550910f71ad8f97022abb535d0a1e5d23e6fcca Mon Sep 17 00:00:00 2001 From: mattinger Date: Thu, 1 Mar 2007 21:53:37 +0000 Subject: git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@85 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- src/java/net/sf/antcontrib/net/URLImportTask.java | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/java/net/sf/antcontrib/net/URLImportTask.java b/src/java/net/sf/antcontrib/net/URLImportTask.java index 37ac654..9c89526 100755 --- a/src/java/net/sf/antcontrib/net/URLImportTask.java +++ b/src/java/net/sf/antcontrib/net/URLImportTask.java @@ -31,6 +31,7 @@ import fr.jayasoft.ivy.Artifact; import fr.jayasoft.ivy.DefaultModuleDescriptor; import fr.jayasoft.ivy.DependencyResolver; import fr.jayasoft.ivy.Ivy; +import fr.jayasoft.ivy.IvyContext; import fr.jayasoft.ivy.MDArtifact; import fr.jayasoft.ivy.ModuleDescriptor; import fr.jayasoft.ivy.ModuleId; @@ -41,6 +42,7 @@ import fr.jayasoft.ivy.repository.Repository; 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, @@ -102,6 +104,28 @@ public class URLImportTask public void execute() throws BuildException { + IvyContext.getContext().setMessageImpl( + new MessageImpl() { + + public void endProgress(String arg0) { + // TODO Auto-generated method stub + + } + + public void log(String arg0, int arg1) { + // TODO Auto-generated method stub + + } + + public void progress() { + // TODO Auto-generated method stub + + } + + public void rawlog(String arg0, int arg1) { + } + } + ); Ivy ivy = new Ivy(); DependencyResolver resolver = null; Repository rep = null; -- cgit v1.2.3