Browse Source

Add classpathref to CheckStyle task to allow finding FOP Exceptions.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279441 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-0_90-alpha1
Joerg Pietschmann 18 years ago
parent
commit
7b22606dfe
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      build.xml

+ 2
- 1
build.xml View File

@@ -778,7 +778,8 @@ list of possible build targets.
<fail message="Please put checkstyle-all-*.jar in the lib directory. Get it from http://checkstyle.sourceforge.net" unless="checkstyle.available"/>
<taskdef name="checkstyle" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstylepath"/>

<checkstyle config="checkstyle-3.5-fop-head.xml" failonviolation="false">
<checkstyle config="checkstyle-3.5-fop-head.xml" failonviolation="false"
classpathref="libs-run-classpath">
<fileset dir="${src.java.dir}" includes="**/*.java"/>
<formatter type="plain" toFile="${build.dir}/checkstyle_report.txt"/>
<formatter type="xml" toFile="${build.dir}/checkstyle_report.xml"/>

Loading…
Cancel
Save