ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: How to set ant debugging on from java api call?
Date Thu, 29 Apr 2004 18:55:57 GMT
--- sudip barat <sbarat@cisco.com> 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.

-Matt


	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover 

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


Mime
View raw message