ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <>
Subject Re: How to set ant debugging on from java api call?
Date Thu, 29 Apr 2004 18:55:57 GMT
--- sudip barat <> wrote:
> Hi 
> I am invoking ant from my java program and writing
> the output in a file . I
> want to know which property I need to set in project
> or which api call I
> need to make  to turn on the debug (equivalent to
> running  ant -debug from
> command prompt )? Or is there a project level
> property I can set in my
> build.xml  to make it that way ?

The debuglevel is set per listener rather than on the
whole Project... so you would attach a BuildListener
set up as you need it.  You should be able to
configure an oata.DefaultLogger for your purposes.


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message