Arg value not loaded

2011-12-16 Thread Vinodh Kumar
Hi, Can someone let me know why the /${${env}.test} value not printed as testest1/ *cmd*:ant -f build.xml -Denv=IT1 *build.xml* ${env} ${${env}.test} *build.properties* IT1.test=testest1 *OUTPUT:* task: [echo] IT1 [echo] $

Property not loaded

2011-12-15 Thread Vinodh Kumar
Hi, Can someone let me know why the /${${env}.test} value not printed as testest1/ *cmd*:ant -f build.xml -Denv=IT1 *build.xml* ${env} ${${env}.test} *build.properties* IT1.test=testest1 *OUTPUT:* task: [echo] IT1 [echo] $

Multiple Arguments Validation

2011-11-29 Thread Vinodh Kumar
Hi, I have validation scenario of comparing user input match. But how can I match mulitple args in single condition [I don't want to use multiple else/if conditions] If user input matches any one of the values from key dep.env, echos success. *Ant Scriplet:* >" arg2="${dep.env}"/> *Prop

RE: Stripping Contents from XML

2011-11-28 Thread Vinodh Kumar
My final output after stripping will be an XML. I tried using regex but not able to achieve. --Vinodh Kumar -- View this message in context: http://ant.1045680.n5.nabble.com/Stripping-Contents-from-XML-tp5027993p5028824.html Sent from the Ant - Users mailing list archive at Nabble.com

Stripping Contents from XML

2011-11-28 Thread Vinodh Kumar
* [api] [api] ... [api] * --Vinodh Kumar -- View this message in context: http://ant.1045680.n5.nabble.com/Stripping-Contents-from-XML-tp5027993p5027993.html Sent from the Ant - Users mailing list archive at Nabble.com

Load property value from build.xml to build.properties

2011-11-04 Thread Vinodh Kumar
Hi, I trying to load the property release.dir set in build.xml into build.properties during runtime. But the value is not loaded into build.properties file. Any hint or can anyone let me know how to get this done? *build.xml* / / *build.properties* /sr