From 683d4cec3e2e4c0be5fc2fa7fd0debe21695a91e Mon Sep 17 00:00:00 2001 From: mattinger Date: Thu, 1 Mar 2007 21:25:58 +0000 Subject: Fixing import git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@83 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- src/java/net/sf/antcontrib/net/URLImportTask.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/net/sf/antcontrib/net/URLImportTask.java b/src/java/net/sf/antcontrib/net/URLImportTask.java index 5bdd6db..44475b8 100755 --- a/src/java/net/sf/antcontrib/net/URLImportTask.java +++ b/src/java/net/sf/antcontrib/net/URLImportTask.java @@ -198,12 +198,11 @@ public class URLImportTask throw new BuildException("Don't know what to do with type: " + type); } - File buildFile = null; ImportTask importTask = new ImportTask(); importTask.setProject(getProject()); importTask.setOwningTarget(getOwningTarget()); importTask.setLocation(getLocation()); - importTask.setFile(buildFile.getAbsolutePath()); + importTask.setFile(importFile.getAbsolutePath()); importTask.perform(); log("Import complete.", Project.MSG_INFO); } -- cgit v1.2.3