Skip to main content

Posts

Showing posts with the label echoproperties

Print all the ant variables used!!!

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 }"/>