ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <>
Subject Re: Verbosity & Debug
Date Sun, 23 Feb 2003 15:21:07 GMT
On Sunday, February 23, 2003, at 09:55 AM, David Corbin wrote:
> How does an Ant task detect that -v or -debug as been set on the ant 
> command line?

They don't need to, when you log messages, you select the level that it 
should appear at. Have a look at Task.log() and Project.log() 
(Task.log() calls through to Project.log(), but is a handy convenience 
method, if you extend Task)

Jesse Stockall -
CRYPTOCard Corp.

View raw message