You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ben Stover <bx...@yahoo.co.uk> on 2010/08/03 15:28:55 UTC
How to show the current, real executed commands in an ANT script?
During the execution of an Ant script a couple of real commands with real parameter values e.g.
for javac, jar,.... are executed.
How can I show the real, current, final commands at the command prompt/terminal/log file ?
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: How to show the current, real executed commands in an ANT script?
Posted by Gilbert Rebhan <gi...@maksimo.de>.
-------- Original Message --------
Subject: How to show the current, real executed commands in an ANT script?
From: Ben Stover <bx...@yahoo.co.uk>
To: Ant Users <us...@ant.apache.org>
Date: 03.08.2010 15:28
> During the execution of an Ant script a couple of real commands with real parameter values e.g.
> for javac, jar,.... are executed.
>
> How can I show the real, current, final commands at the command prompt/terminal/log file ?
>
> Ben
get a chatty log with either loglevel -verbose | -debug, means try
ant -verbose -f yourbuild.xml ..
ant -debug -f yourbuild.xml ..
which adjusts the loglevel for your whole build or better IMO
use setloglevel [1] to shed light on specific sections of your build
<project ...>
....
<setloglevel level="verbose|debug"/>
your stuff you want to
know more details..
<!-- use normal loglevel again -->
<setloglevel level="info"/>
....
</project>
Regards, Gilbert
[1]
http://marc.info/?l=ant-user&m=125201552004975&w=2
http://marc.info/?l=ant-user&m=115504180503962&w=2
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org