瀏覽代碼

Have Checkstyle fail the build if there are any warnings


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1551637 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-2_0
Vincent Hennebert 10 年之前
父節點
當前提交
f4503bb6c4
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      build.xml

+ 1
- 1
build.xml 查看文件

@@ -1062,7 +1062,7 @@ NOTE:
<target name="checkstyle" depends="package, checkstyle-avail" if="checkstyle.avail" description="Runs Checkstyle for a code quality report">
<taskdef name="checkstyle" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstyle-classpath"/>
<mkdir dir="${build.dir}"/>
<checkstyle config="${checkstyle.config}" failonviolation="false">
<checkstyle config="${checkstyle.config}" failonviolation="true" maxWarnings="0">
<classpath>
<path refid="checkstyle-classpath"/>
<pathelement location="${build.classes.dir}"/>

Loading…
取消
儲存