From 5891a427bfb3cc27f1ae1826d64302ba03799560 Mon Sep 17 00:00:00 2001 From: mattinger Date: Mon, 5 Mar 2007 19:38:23 +0000 Subject: git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@89 32d7a393-a5a9-423c-abd3-5d954feb1f2f --- src/java/net/sf/antcontrib/net/URLImportTask.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3