SF.net SVN: ant-contrib: [89] trunk/ant-contrib/src/java/net/sf/antcontrib/ net/URLImportTask.java
| Newsgroups | gmane.comp.java.ant-contrib.devel |
|---|---|
| Message-ID | <[email protected]> |
Revision: 89
http://svn.sourceforge.net/ant-contrib/?rev=89&view=rev
Author: mattinger
Date: 2007-03-05 11:38:23 -0800 (Mon, 05 Mar 2007)
Log Message:
-----------
Modified Paths:
--------------
trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java
Modified: trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java
===================================================================
--- trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java 2007-03-05 19:37:57 UTC (rev 88)
+++ trunk/ant-contrib/src/java/net/sf/antcontrib/net/URLImportTask.java 2007-03-05 19:38:23 UTC (rev 89)
@@ -241,7 +241,8 @@
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();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV