summaryrefslogtreecommitdiffstats
path: root/src/java/net/sf/antcontrib/net/URLImportTask.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/net/sf/antcontrib/net/URLImportTask.java')
-rwxr-xr-xsrc/java/net/sf/antcontrib/net/URLImportTask.java3
1 files changed, 1 insertions, 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);
}