I have a scenario, where using ANT Script
I have to fetch codes from SVN using properties file.
The properties files has the property projectlib
where the libraries used in a module are listed as comma separated values and their corresponding revision numbers are listed in a property projectlib.revision
below.
I have to fetch projectlib with the respective revision number.
The properties file looks as below:
projectliblist=XXXXLib1,XXXXLib2
projectlibrevision=3195,3289
For Example, here I have to fetch XXXXLib1
from 3195
and XXXXLib2
from 3289
.
I need the logic to match projectlib with respective revision number, not the complete script for this scenario.
I tried with For list, but I don't know how to index the param list.