Re: Raising error level on a javadoc task.
Monday, June 26, 2006 03:44 PM
Interesting. I see nothing in the javadoc task (or the javadoc command itself) to help you out. If you deeply require this, you may need to write your own Ant Logger. I imagine you may could just extend the current default logger with some additional logic that happens only for the javadoc task, at which point you could throw your own BuildException events for warning-level messages that come through. (I've only recently been working through some custom xml-based loggers myself, and no, the included XmlLogger doesn't cut it, before anyone points it out. :) Not too bad to sort out, though there's not a ton of examples on the 'net either. (Using eclipse helped a bit in my case.)