diff options
author | mattinger <[email protected]> | 2007-03-01 21:53:37 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2007-03-01 21:53:37 +0000 |
commit | d550910f71ad8f97022abb535d0a1e5d23e6fcca (patch) | |
tree | 8978c368dfd1bbd4aae7d037a45d78e73a49d37e | |
parent | dcb8004d37eee702673be8e0025627e0015487fc (diff) |
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@85 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rwxr-xr-x | src/java/net/sf/antcontrib/net/URLImportTask.java | 24 |
1 files changed, 24 insertions, 0 deletions
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;
|