summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();