ant-user mailing list archives

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

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}"
       basedir="${install.home}/.."
    />

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.

Thanks,
Amy

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


Mime
View raw message