If you have an existing zip file called perlscr.zip, you can add for example, a file called backup.sh in the shellscr directory using the Ant Zip task:
<zip destfile="perlscr.zip" basedir="shellscr" includes="backup.sh" update="true"/>
Read full article from ant contrib - How to copy files into a zip file using ANT script? - Stack Overflow
No comments:
Post a Comment