]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Use checkstyle.config to get the appropriate checkstyle configuration file
authorJoerg Pietschmann <pietsch@apache.org>
Thu, 6 Oct 2005 14:10:09 +0000 (14:10 +0000)
committerJoerg Pietschmann <pietsch@apache.org>
Thu, 6 Oct 2005 14:10:09 +0000 (14:10 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@306650 13f79535-47bb-0310-9956-ffa450edef68

build.xml

index a58169efe5ef33d0efc41a32844ae92458b497e4..c0a9718be6e4b5c2236b0ded7f36a6180172f847 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -896,9 +896,7 @@ list of possible build targets.
   <target name="checkstyle-check" depends="checkstyle-avail, codegen" if="checkstyle.available">
     
     <taskdef name="checkstyle" classname="com.puppycrawl.tools.checkstyle.CheckStyleTask" classpathref="checkstyle-runpath"/>
-    <!--checkstyle config="checkstyle-3.5-fop-head.xml" failonviolation="false"
-                classpathref="checkstyle-path"-->
-    <checkstyle config="checkstyle-4.0.xml" failonviolation="false"
+    <checkstyle config="${checkstyle.config}" failonviolation="false"
                 classpathref="checkstyle-runpath">
       <fileset dir="${src.java.dir}" includes="**/*.java"/>
       <formatter type="plain" toFile="${build.dir}/checkstyle_report.txt"/>