Revision: 17677
          http://sourceforge.net/p/gate/code/17677
Author:   markagreenwood
Date:     2014-03-15 17:58:52 +0000 (Sat, 15 Mar 2014)
Log Message:
-----------
enable all the compiler warnings

Modified Paths:
--------------
    gate/trunk/plugins/Learning/build.xml

Modified: gate/trunk/plugins/Learning/build.xml
===================================================================
--- gate/trunk/plugins/Learning/build.xml       2014-03-15 17:57:08 UTC (rev 
17676)
+++ gate/trunk/plugins/Learning/build.xml       2014-03-15 17:58:52 UTC (rev 
17677)
@@ -38,6 +38,8 @@
        ****************  USER OPTIONS END HERE! ************************** 
        ******************************************************************* -->
 
+       <property name="gate.compile.maxwarnings" value="10000" />
+       
        <!-- set global properties for this build -->
 
        <!-- Directories -->
@@ -87,7 +89,11 @@
        <!-- This target compiles all the classes -->
        <target name="compile" description="compile the source " 
depends="prepare">
                <!-- Compile the java code from ${srcDir} into ${buildDir} -->
-               <javac srcdir="${srcDir}" destdir="${buildDir}" source="1.5" 
target="1.5" encoding="UTF-8" debug="true" debuglevel="lines,source" 
classpathref="build.class.path" />
+               <javac srcdir="${srcDir}" destdir="${buildDir}" source="1.6" 
target="1.6" encoding="UTF-8" debug="true" debuglevel="lines,source" 
classpathref="build.class.path">
+                       <compilerarg value="-Xmaxwarns" />
+                       <compilerarg value="${gate.compile.maxwarnings}" />
+                       <compilerarg value="-Xlint:all" />
+               </javac>
        </target>
 
        <target name="jar" depends="compile">

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to