diff options
author | mattinger <[email protected]> | 2007-03-05 19:38:23 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2007-03-05 19:38:23 +0000 |
commit | 5891a427bfb3cc27f1ae1826d64302ba03799560 (patch) | |
tree | c00f13a9561ffe2dc91acf59c613c41358bc5953 | |
parent | 6eadd8093b3a132c62d4c0863dbffa39e45993aa (diff) |
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@89 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rwxr-xr-x | src/java/net/sf/antcontrib/net/URLImportTask.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/net/sf/antcontrib/net/URLImportTask.java b/src/java/net/sf/antcontrib/net/URLImportTask.java index e95b53d..f265d25 100755 --- a/src/java/net/sf/antcontrib/net/URLImportTask.java +++ b/src/java/net/sf/antcontrib/net/URLImportTask.java @@ -241,7 +241,8 @@ public class URLImportTask if ("xml".equalsIgnoreCase(type)) {
importFile = file;
}
- else if ("jar".equalsIgnoreCase(type)) {
+ else if ("jar".equalsIgnoreCase(type) ||
+ "zip".equalsIgnoreCase(type)) {
File dir = new File(file.getParentFile(),
file.getName() + ".extracted");
dir.mkdir();
|