summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-03-05 19:38:23 +0000
committermattinger <[email protected]>2007-03-05 19:38:23 +0000
commit5891a427bfb3cc27f1ae1826d64302ba03799560 (patch)
treec00f13a9561ffe2dc91acf59c613c41358bc5953 /src
parent6eadd8093b3a132c62d4c0863dbffa39e45993aa (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
Diffstat (limited to 'src')
-rwxr-xr-xsrc/java/net/sf/antcontrib/net/URLImportTask.java3
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();