You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Karl <ka...@comcast.net> on 2006/06/28 01:16:18 UTC

Extending the javadoc task...

Hello, I have a need to essentially "fail on warning" during a javadoc
task. While the task provides a failonerror there doesn't appear to be
such an animal for warnings.
I'm pretty well versed on how I might structure the Ant extension code
itself, but I'm trying to figure out how I, in a platform independent
manner, programmatically determine that a warning condition has
transpired during the javadoc compile process. I'm hoping it doesn't
have to involve capturing each line of output and grepping for the word
"warning".
There must be some way to do this since somehow the console view in
eclipse is able to color code the warning message.

any ideas?
thanks,
Karl


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