Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Debugging ANT build scripts

Reply
Thread Tools

Debugging ANT build scripts

 
 
illusions
Guest
Posts: n/a
 
      12-16-2004

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

 
Reply With Quote
 
 
 
 
Collin VanDyck
Guest
Posts: n/a
 
      12-16-2004
illusions wrote:
> 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.

 
Reply With Quote
 
 
 
 
bugbear
Guest
Posts: n/a
 
      12-17-2004
illusions wrote:
> 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
 
Reply With Quote
 
Chas Douglass
Guest
Posts: n/a
 
      12-18-2004
"illusions" <(E-Mail Removed)> wrote in news:1103206030.524160.38680
@f14g2000cwb.googlegroups.com:

>
> 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


 
Reply With Quote
 
Bill Joy
Guest
Posts: n/a
 
      12-18-2004
JBuilder has a debugger for ANT scripts that lets you set breakpoints and
see/change the value of variables.

Here is a link to a downloadable demo using Shockwave on the Borland
Developer Network site:

http://bdn.borland.com/article/0,1410,32863,00.html


"illusions" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
>
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Axis 2: compiling the examples, ant build scripts? bruce_phipps@my-deja.com Java 0 07-26-2006 02:59 PM
Maven: Calling ANT scripts before build Axel Bock Java 1 05-10-2006 11:27 AM
wondering how i can launch tomcat from ant without ant hanging... Chris Bedford Java 6 12-23-2004 12:41 AM
SWsoft Acronis Disk Director Suite 9.0 Build 508, Acronis OS Selector 8.0 Build 917, Acronis Partition Expert 2003 Build 292, Acronis Power Utilities 2004 Build 502, F-SECURE.ANTI vIRUS.PROXY v1.10.17.WINALL, F-SECURE.ANTI vIRUS v5.50.10260 for CITRI vvcd Computer Support 0 09-25-2004 01:38 AM
debugging ant build files Harald Kirsch Java 1 12-11-2003 03:12 PM



Advertisments