On 11/27/06, John Norvell <[EMAIL PROTECTED]> wrote:
> The javac task seems to log compile errors using the "warn" logging > priority level with echo. Does anyone know if this behavior is a bug or intentional?
Haven't checked the code, but the levels correspond to Ant's log levels. All output from Javac is grabbed from stdout and stderr, and it's very possible that stderr is mapped to Ant's warn level, since for example both warnings and errors are logged to stderr by Javac. So yes, my guess is that it's intentional. You can always make your XSL more complex by looking for the "Filename:#: Warning: " prefix to separate messages in different classes (there's also the unchecked class of warnings with 1.5+). I did that a while back to have Javac messages in several colors in the CruiseControl notification email. Different job now though, so not easy get to that. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
