Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started 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

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.