You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Graham Leggett <mi...@sharp.fm> on 2007/06/05 16:20:19 UTC

ant equivalent of bash -x

Hi all,

In my quest to hunt down the mysterious ant crash that causes it to exit
with return code 13 without error or warning, I would like to trace the
execution of the build script to see how far ant gets.

Does ant have the equivalent of bash's "-x" trace feature?

Regards,
Graham
--



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: ant equivalent of bash -x

Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 5 Jun 2007, Graham Leggett <mi...@sharp.fm> wrote:

> In my quest to hunt down the mysterious ant crash that causes it to
> exit with return code 13 without error or warning, I would like to
> trace the execution of the build script to see how far ant gets.

I'm afraid this sounds like a crash of the VM more than a bug in Ant.

> Does ant have the equivalent of bash's "-x" trace feature?

Not directly, but running it with -debug should give you as much
information as possible (apart from attaching a debugger, that is).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org