File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant script debugging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Ant script debugging" Watch "Ant script debugging" New topic
Author

Ant script debugging

sachin jauhari
Greenhorn

Joined: Jul 14, 2005
Posts: 15
Do we any tool for debugging ant script which i can integrate with
eclipse.
If so pls provide the link.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Well, Ant is a Java application, so you could debug it via an IDE as you might any application.

More normally the way to fix Ant problems is to run it with the -verbose or -debug flag. That will give you pretty detailed logging of what is happening.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
If you haven't already upgraded to Eclipse 3.1, I'd suggest you do so - Ant integration is considerably improved since 3.0.


-Tim
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16012
    
  19

Originally posted by Tim West:
If you haven't already upgraded to Eclipse 3.1, I'd suggest you do so - Ant integration is considerably improved since 3.0.


-Tim


However, use of the -verbose flag is possible even under Eclipse 3.0.


Customer surveys are for companies who didn't pay proper attention to begin with.
Tim West
Ranch Hand

Joined: Mar 15, 2004
Posts: 539
Oh yeah, of course ...I didn't mean to refer to that explicitly.

An example use of the feature I was describing is here.

Or just Google it yourself...


-Tim
[ July 21, 2005: Message edited by: Tim West ]
sachin jauhari
Greenhorn

Joined: Jul 14, 2005
Posts: 15
thanks . I was able to debug ANT acript with eclipse 3.1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant script debugging