Ant zip: how to remove original directory from the path -
Ant zip: how to remove original directory from the path -
i have structure
component1/database1/... component1/code/... component2/database2/... component2/code/... etc... i want create zip has structure:
database1/... database2/... etc... with code:
<zip destfile="db.zip" basedir="buildpath" includes="*/database*/**"> </zip> it creates:
component1/database1/... component2/database2/... suggestions on how rid of first directories? thanks
why don't seek copying folder construction temp folder , seek zipping it?
https://ant.apache.org/manual/tasks/copydir.html https://ant.apache.org/manual/tasks/zip.html
ant zip
Comments
Post a Comment