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!

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