xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sstei...@apache.org
Subject svn commit: r1681695 - /xmlgraphics/fop/trunk/build.xml
Date Tue, 26 May 2015 07:41:47 GMT
Author: ssteiner
Date: Tue May 26 07:41:47 2015
New Revision: 1681695

URL: http://svn.apache.org/r1681695
Log:
Fail build on findbugs

Modified:
    xmlgraphics/fop/trunk/build.xml

Modified: xmlgraphics/fop/trunk/build.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/build.xml?rev=1681695&r1=1681694&r2=1681695&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/build.xml (original)
+++ xmlgraphics/fop/trunk/build.xml Tue May 26 07:41:47 2015
@@ -1154,7 +1154,7 @@ NOTE:
       </classpath>
     </taskdef>
     <findbugs home="${findbugs.home.dir}" output="${findbugs.output.format}" reportLevel="low"
effort="max"
-              outputFile="${build.dir}/report_findbugs.${findbugs.output.extension}" excludeFilter="findbugs-exclude.xml"
jvmargs="-Xmx1024m">
+              outputFile="${build.dir}/report_findbugs.${findbugs.output.extension}" excludeFilter="findbugs-exclude.xml"
jvmargs="-Xmx1024m" warningsProperty="findbugs.warnings">
       <sourcePath path="${src.java.dir}"/>
       <class location="${build.classes.dir}"/>
       <auxClasspath>
@@ -1167,6 +1167,7 @@ NOTE:
         </path>
       </auxClasspath>
     </findbugs>
+    <fail if="findbugs.warnings"/>
   </target>
   <target name="findbugs-xml" depends="findbugs-avail" if="findbugs.present" description="Runs
findbugs for a code quality report in XML">
     <property name="findbugs.output.format" value="xml"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message