diff options
Diffstat (limited to 'src/java')
-rwxr-xr-x | src/java/net/sf/antcontrib/net/URLImportTask.java | 3 |
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);
}
|