Friday, April 01, 2011

Add Colour to Ant Output

You can add pretty colours to your ant output really easily by simply setting the following in your profile:
export ANT_ARGS='-logger org.apache.tools.ant.listener.AnsiColorLogger'
The AnsiColorLogger adds color to the standard Ant output by prefixing and suffixing ANSI color code escape sequences to it.

Read more about it here: Apache Ant | AnsiColorLogger

1 comment:

Note: Only a member of this blog may post a comment.