Have a large build file and want to see what your ant variables contain? Use <echoproperties></echoproperties> in your target and you will get the list of ant properties with their values printed to standard output. You can redirect the output to a file using the attribute destfile as below <echoproperties destfile="allproperties"> </echoproperties> You can always print individual values using echo as below <echo message=" testng.timeOut = ${ testng.timeOut }"/>
Being in the industry for almost two decades, one thing that's been constant is change and my curiosity. I In this fast world of IT...being curious, learning and learning by doing is quintessential :) Here is my way of learning and sharing what I learnt!!! Author: Sirisha Reddy G V