Depending on the build exit status, i would like to change the background color to green or red.
How do i achieve this with Apache Ant and windows?
Depending on the build exit status, i would like to change the background color to green or red.
How do i achieve this with Apache Ant and windows?
Use the color command:
http://www.computerhope.com/color.htm
and execute it from an Ant script using exec:
<exec dir="." executable="color" os="Windows NT">
<arg line="1"/>
</exec>