diff options
author | mattinger <[email protected]> | 2007-03-01 21:25:58 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2007-03-01 21:25:58 +0000 |
commit | 683d4cec3e2e4c0be5fc2fa7fd0debe21695a91e (patch) | |
tree | 102e21a9dbc203aa8ed20f05af899ec86a581a61 /src/java/net/sf | |
parent | 928a6e4d7a89e9a57fbb206657be834701ad1948 (diff) |
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
Diffstat (limited to 'src/java/net/sf')
-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);
}
|