ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Roh <>
Subject zip into a top directory
Date Tue, 27 Sep 2005 20:52:11 GMT

Is there a way to specify a top directory when using ant zip task?

For example, if install.home included bin/lib, the following 
dest.zipfile will include bin/lib as top level directories.  I'd like to 
put them into a top parent directory so it's convenient for users 
unzipping the file.

    <zip destfile="${dest.zipfile}"

I could always move what's in install.home into a temporary top 
directory to zip it but was wondering if ant zip has an top parent 
directory option I'm not aware of.


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

View raw message