ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: How do I cause <javac> to fail on jikes warnings?
Date Tue, 23 Oct 2001 14:24:43 GMT
On Tue, 23 Oct 2001, Stephen Anderson <anderson@berbee.com> wrote:

> best as an attribute of the javac task.  <javac ... failOnWarn="true">

Probably not, as this is only supported by Jikes, not any other of the
seven <javac> choices available.

To parallel the other jikes options, you could simply introduce a new
magic property like build.compiler.warningsareerrors or something.

But maybe we've simply reached the point to introduce 

<javac additionalArgs="..." />

or similar.

Stefan

Mime
View raw message