ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Zip task doesn't create empty directories on Mac OSX
Date Thu, 14 Oct 2004 05:17:23 GMT
Hello,

In ant 1.6.2, there is a bug [1] preventing empty directories from being
zipped.

This bug is fixed in CVS on the ANT_16_BRANCH and on the main branch.
Which means that you can use ant 1.6.1 or patch your ant 1.6.2 using the
diffs [2]

I would bet that you are using a different (maybe older) version of ant
under linux, and that you are using ant 1.6.2 under OSX.

Cheers,
Antoine

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=30365

[2]
http://cvs.apache.org/viewcvs.cgi/ant/src/main/org/apache/tools/ant/taskdefs/Zip.java?r1=1.127&r2=1.128

> For some reason the zip task is not consisten between platforms. When I 
> zip up a directory with some empty directories under it, in Linux, the 
> empty directories get included in the zip. When I run the same task on 
> OSX, the empty directories are not created.
> 


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


Mime
View raw message