maybe with zipfileset? or you could just tell your users to "unzip -d"

-- 
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)




Amy Roh <[EMAIL PROTECTED]> 
09/27/2005 04:52 PM
Please respond to
"Ant Users List"


To
user@ant.apache.org
cc

Subject
zip into a top directory






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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to