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

Help in copy files from list using ant

scmuser created the topic: Help in copy files from list using ant
Help in copy files from list using ant

Hi,

I have one file called list.txt where i have mentioned all the files which need to be copied from specific directry.

can you please help me with the right copy task syntax which read the files name from list.txt and copy to destination directory???

tpatil replied the topic: Re:Help in copy files from list using ant
You can “for” loop in build to achieve this
Build.xml:-



Copying File @{val}


Build.properties:-
copy.files=${src_dir1}/build/build.xml,\
${src_dir2}/build/build.xml

rajeshkumar replied the topic: Re:Help in copy files from list using ant
I would recommend following command for same…






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

scmuser replied the topic: Re:Help in copy files from list using ant

amitanand123 replied the topic: Re:Help in copy files from list using ant


Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)