AW: Failing a javac task due to Xlint warnings

2007-03-05 Thread Jan.Materne
>-Ursprüngliche Nachricht- >Von: Brown, Carlton [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 5. März 2007 22:33 >An: user@ant.apache.org >Betreff: Failing a javac task due to Xlint warnings > >Hi all, > >I am looking for a way to cause javac to fail if certai

Failing a javac task due to Xlint warnings

2007-03-05 Thread Brown, Carlton
Hi all, I am looking for a way to cause javac to fail if certain warnings are encountered (deprecation, etc).I did not see any attribute to that would produce such behavior. My next thought was to capture the stdout or stderr of javac into a property and then check it in a nested in a tas