Reputation: 57
When you run a Java file through Ant, all of the output has the [java]
-tag in front of it.
How do you remove this?
Example:
[java] | *
[java] | :irc.cs472.cs.drexel.edu
[java] | 372 test :- * Welcome
[java] | on our new IRC server, ru
[java] | nning on: *
[java] | :irc.cs472.cs.drexel.edu
[java] | 372 test :- * Debian G
[java] | NU/Linux (www.debian.org)
[java] | *
[java] | :irc.cs472.cs.drexel.edu
[java] | 372 test :- *************
[java] | *************************
[java] | ************
[java] | QUIT
[java] Type \m to | :irc.cs472.cs.drexel.edu
[java] bring up | NOTICE test :Connection s
[java] the menu a | tatistics: client 0.1 kb,
[java] t any time | server 1.6 kb.
[java] ___________________________________
[java] Please enter your choice :
BUILD SUCCESSFUL
Total time: 1 minute 39 seconds
Upvotes: 1
Views: 72
Reputation: 10377
Just run ant with emacs parameter to get rid of the adornments, f.e. :
ant -emacs -f build.xml
see ant manual command line options
Upvotes: 1
Reputation: 490403
You could used sed
. Pipe the ant
output into...
sed " s/^\[JAVA\] //"
Upvotes: 0