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