ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <>
Subject Re: Quiet output
Date Thu, 12 Oct 2006 05:16:45 GMT
You might want to look at the -emacs command line option to surpress the 'prefixing' that appears
on the output

----- Original Message ----
From: Iván Pérez Domínguez <>
Sent: Wednesday, October 11, 2006 2:54:30 PM
Subject: Quiet output

I'm writing a build.xml file that tests a program. Before using ANT,
I had a bash script that printed the results like init.d scripts do when
started/stopped. For instance, for an input file to be tested, called
mtp.mtp, it printed something like

mtp.mtp                                             [OK]

if everything went ok, and

mtp.mtp                                             [!!]

if something went wrong. In both cases, the real output was saved in a
log file.

Now I'm using ANT, I'd like it to be the same way, but the output
happens to be way too verbose unless ANT is called with -quiet. Is there
any way to force this quiet flag, or to hide the commands output?

I don't like ANT to prefix the output with the command that produced it
either. For instance, if I write


ant prints something like

[echo] Message

Is there any way to hide that too?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message