Hi there,
I wish to suppress warnings such as these in my ant build;
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
Going on what the javac ant task allows and what javac itself says to do I think I should have something like;
<javac srcdir="${srcDir}" destdir="${classDir}">
<!-- This is only allowed for the srcDir. Do not do this anywhere else -->
<compilerarg line="-Xlint:"-unchecked""/>
</javac>
But this doesn't appear to do what I want. Anyone know exactly how to get these warnings suppressed?