You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2011/03/13 16:25:38 UTC

svn commit: r1081138 - in /ofbiz/trunk: framework/start/build.xml macros.xml

Author: jleroux
Date: Sun Mar 13 15:25:37 2011
New Revision: 1081138

URL: http://svn.apache.org/viewvc?rev=1081138&view=rev
Log:
Add -Xlint:-path to javac16 target
Closes "Add <compilerarg value="-Xlint"/> to all build targets" (https://issues.apache.org/jira/browse/OFBIZ-4213) - OFBIZ-4213
+ slight formatting in start build

Modified:
    ofbiz/trunk/framework/start/build.xml
    ofbiz/trunk/macros.xml

Modified: ofbiz/trunk/framework/start/build.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/start/build.xml?rev=1081138&r1=1081137&r2=1081138&view=diff
==============================================================================
--- ofbiz/trunk/framework/start/build.xml (original)
+++ ofbiz/trunk/framework/start/build.xml Sun Mar 13 15:25:37 2011
@@ -34,7 +34,7 @@ under the License.
 
     <target name="classes" depends="prepare">
         <!-- compile start -->
-    <javac16 destdir="${build.dir}/classes" srcdir="${src.dir}"/>
+        <javac16 destdir="${build.dir}/classes" srcdir="${src.dir}"/>
     </target>
 
     <target name="jar" depends="classes">

Modified: ofbiz/trunk/macros.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/macros.xml?rev=1081138&r1=1081137&r2=1081138&view=diff
==============================================================================
--- ofbiz/trunk/macros.xml (original)
+++ ofbiz/trunk/macros.xml Sun Mar 13 15:25:37 2011
@@ -73,9 +73,7 @@ under the License.
 
  <presetdef name="javac16">
   <default-javac compiler="javac1.6" target="1.6" source="1.6" encoding="UTF-8" sourcepathref="src-path" includeantruntime="false">
-   <!--
-   <compilerarg value="-Xlint:unchecked"/>
-   -->
+   <compilerarg value="-Xlint:-path"/>
   </default-javac>
  </presetdef>