ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raster3 <>
Subject Extending unzip
Date Mon, 31 Dec 2007 04:22:07 GMT


How do I extend the unzip task?

Any idea whats the correct way of doing this? All I need to do is change the
destination directory based on the contents of the zip file.

I tried creating a class that extends 
and  then implemented protected void expandFile(FileUtils fileUtils, File
srcF, File dir) method by modifying dir based on the contents of the srcF
zip file. 

But even if I just invoke super.expandFile(fileUtils,  srcF,  dir) and dont
do any modifications I get an error when it expands the file to a path
somehow suffixed by PK. .

I am thinking that maybe its not Untar which I should extend.

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message