Debugging ANT build scripts

I

illusions

Hello,
I would like to know about the debugging capabilities of ANT. Basically
I have an ANT build script written by a colleague and I wanted to step
through each target to see what are the various tasks that are beings
called. I tried using the -debug option but that output a whole lot of
information without any pause. Could you suggest any other better
method of debugging.
Thaks,
Swathi
 
C

Collin VanDyck

illusions said:
Hello,
I would like to know about the debugging capabilities of ANT. Basically
I have an ANT build script written by a colleague and I wanted to step
through each target to see what are the various tasks that are beings
called. I tried using the -debug option but that output a whole lot of
information without any pause. Could you suggest any other better
method of debugging.
Thaks,
Swathi

You could write a custom task that outputted some text to the console
and insert your task inside of each target with an appropriate message.
 
B

bugbear

illusions said:
Hello,
I would like to know about the debugging capabilities of ANT. Basically
I have an ANT build script written by a colleague and I wanted to step
through each target to see what are the various tasks that are beings
called. I tried using the -debug option but that output a whole lot of
information without any pause. Could you suggest any other better
method of debugging.

If you capture the output of -debug, it's (moderately)
readable in a decent editor.

Trying to eyeball it as it flys past is futile.

BugBear
 
C

Chas Douglass

Hello,
I would like to know about the debugging capabilities of ANT. Basically
I have an ANT build script written by a colleague and I wanted to step
through each target to see what are the various tasks that are beings
called. I tried using the -debug option but that output a whole lot of
information without any pause. Could you suggest any other better
method of debugging.
Thaks,
Swathi

The latest "stream stable build" of Eclipse (3.1M4) released yesterday
claims to have an "ant debugger". I haven't tried it yet.

<http://eclipse.org>

Chas Douglass
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,756
Messages
2,569,533
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top