ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jing Xue <apa...@magicfat.lunarpages.com>
Subject RE: Modify files inside zip
Date Fri, 17 Oct 2003 13:49:03 GMT
Quoting Patrick Martin <patrick.martin@sungard.com>:
> It seems to me that something like
> 
> <fileset zip="foo.zip">
>   <include name="**/bar/**"/>
> </fileset>
> 
> would be very similar to:
> 
> <zipfileset src="foo.zip">
>   <include name="**/bar/**"/>
> </zipfileset>

Hmm... yes, semantically they are the same, but the second approach forces the 
task name to change with the type of underlying file system, and hence makes it 
harder to use a property to abstract a path in this case. It seems to me the 
first one (with "zip" changed back to "dir") would work the best with a vfs-
based scheme.

--J.X.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message