Author: doogie
Date: Wed Oct 17 21:19:48 2007 New Revision: 585858 URL: http://svn.apache.org/viewvc?rev=585858&view=rev Log: Add -Xlint:unchecked to several javac calls; they are all clean, so no warnings are produced. Modified: ofbiz/trunk/framework/appserver/build.xml ofbiz/trunk/framework/base/build.xml ofbiz/trunk/framework/catalina/build.xml ofbiz/trunk/framework/jetty/build.xml ofbiz/trunk/framework/security/build.xml Modified: ofbiz/trunk/framework/appserver/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/appserver/build.xml?rev=585858&r1=585857&r2=585858&view=diff ============================================================================== --- ofbiz/trunk/framework/appserver/build.xml (original) +++ ofbiz/trunk/framework/appserver/build.xml Wed Oct 17 21:19:48 2007 @@ -75,6 +75,7 @@ <target name="classes" depends="prepare,classpath"> <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes"> + <compilerarg value="-Xlint:unchecked"/> <classpath> <path refid="local.class.path"/> </classpath> Modified: ofbiz/trunk/framework/base/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/build.xml?rev=585858&r1=585857&r2=585858&view=diff ============================================================================== --- ofbiz/trunk/framework/base/build.xml (original) +++ ofbiz/trunk/framework/base/build.xml Wed Oct 17 21:19:48 2007 @@ -78,6 +78,7 @@ <target name="classes" depends="prepare,classpath"> <!-- compile start --> <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes/start"> + <compilerarg value="-Xlint:unchecked"/> <src path="${src.dir}/start"/> </javac> <copy todir="${build.dir}/classes/start"> Modified: ofbiz/trunk/framework/catalina/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/catalina/build.xml?rev=585858&r1=585857&r2=585858&view=diff ============================================================================== --- ofbiz/trunk/framework/catalina/build.xml (original) +++ ofbiz/trunk/framework/catalina/build.xml Wed Oct 17 21:19:48 2007 @@ -78,6 +78,7 @@ <target name="classes" depends="prepare,classpath"> <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes"> + <compilerarg value="-Xlint:unchecked"/> <classpath> <path refid="local.class.path"/> </classpath> Modified: ofbiz/trunk/framework/jetty/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/jetty/build.xml?rev=585858&r1=585857&r2=585858&view=diff ============================================================================== --- ofbiz/trunk/framework/jetty/build.xml (original) +++ ofbiz/trunk/framework/jetty/build.xml Wed Oct 17 21:19:48 2007 @@ -77,6 +77,7 @@ <target name="classes" depends="prepare,classpath"> <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes"> + <compilerarg value="-Xlint:unchecked"/> <classpath> <path refid="local.class.path"/> </classpath> Modified: ofbiz/trunk/framework/security/build.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/security/build.xml?rev=585858&r1=585857&r2=585858&view=diff ============================================================================== --- ofbiz/trunk/framework/security/build.xml (original) +++ ofbiz/trunk/framework/security/build.xml Wed Oct 17 21:19:48 2007 @@ -77,6 +77,7 @@ <target name="classes" depends="prepare,classpath"> <javac debug="on" source="1.5" deprecation="on" destdir="${build.dir}/classes"> + <compilerarg value="-Xlint:unchecked"/> <classpath> <path refid="local.class.path"/> </classpath> |
Free forum by Nabble | Edit this page |