Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Apache Ant Web References & Cheatsheet

rajeshkumar created the topic: Apache Ant: Copy Task full reference
This copies all files in directories called images that are located in the directory tree defined by ${src} to the destination directory defined by ${dist}, but excludes all *.gif files from the copy.



The same as the example above, but expressed using nested elements.






Copy a single file

Copy a single file to a directory

Copy a directory to another directory



Copy a set of files to a directory







Copy a set of files to a directory, replacing @TITLE@ with Foo Bar in all files.






Collect all items from the current CLASSPATH setting into a destination directory, flattening the directory structure.

Copies some resources to a given directory.





Copies the two newest resources into a destination directory.












copy a set of files






Ant copy task examples








fileset dir="${config.deploy.dir}">



Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Rajesh Kumar
Follow me