> Why not use shellscript? didn't think of it :-)
---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<---- <shellscript shell="bash" outputproperty="js.list"> cat deploy.properties | grep .js-version| sed s/.js-version=v.[0-9]*/,/g | tr -d '\n' | sed s/,$//g </shellscript> <echo>JS list: ${js.list}</echo> <for list="${js.list}" param="myval"> <sequential> <replace dir="${docroot-re01}" token="/javascripts/@{myval}.js" value="http://js.cleartrip.com/javascripts/@[EMAIL PROTECTED]" > <include name="**/*.html"/> <include name="**/*.shtml"/> </replace> </sequential> </for> ---8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<-------8-<---- Now it works beautifully :-) Thanks a million Jan and Peter !!! Regards, -vihan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]