Browse files

Changed compiler arg from "-Xlint" to "-Xlint:unchecked".

Without restricting the argument to the "unchecked" version, Ant/javac
generated a bunch of warnings when dealing with some 3rd-party JARs. The
warning in question was "bad path element". Now this warning (which really,
means nothing) is not generated.

I found the fix for this issue here:

  • Loading branch information...
1 parent 9cc8863 commit de98a7627bfba9894c9ea4c54e06e7cc4cf12037 @mdippery mdippery committed Oct 8, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 build.xml
@@ -32,7 +32,7 @@
<javac destdir="${build}" srcdir="${src}" classpathref="library.classpath"
debug="true" deprecation="false">
- <compilerarg value="-Xlint"/>
+ <compilerarg value="-Xlint:unchecked"/>
<copy file="${src}/particle.png" todir="${build}" />

0 comments on commit de98a76

Please sign in to comment.