Thank you, Matt, for such a prompt answer to (2) and (4).
Anyone else have any thoughts on (1) and (3)? Matt implies "can't be done"...
On Wed, 26 Jan 2005 13:45:15 -0800 (PST), Matt Benson <[EMAIL PROTECTED]>
wrote:
--- michael sorens <[EMAIL PROTECTED]> wrote:
From the command line, one may use -v to get more
verbose output.
How is this verbose-state accessed...
(1) ...from within the build file (i.e. ant property
presumably) ?
(2) ...from within a custom task ?
(3) ...from within a generic Java class, if possible
?
Not knowing exactly what you are after, your only real
way of accessing the state is to install a custom
BuildLogger, which must implement a method
setMessageOutputLevel(int). If you are only talking
about logging from a custom task, however, all you do
is log everything at the appropriate level and the
listeners will exclude things whose "detail level" is
greater than that desired per Ant execution.
(4) Are there guidelines for what constitutes
verbose output when writing a custom task?
Not that I know of, but I could be wrong.
-Matt
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]