aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Pietschmann <pietsch@apache.org>2005-10-06 14:10:09 +0000
committerJoerg Pietschmann <pietsch@apache.org>2005-10-06 14:10:09 +0000
commit84d2cda5f480f47b8fe1ec0943af39329d821802 (patch)
tree38c176fb48bf1496e85f8efb18c530320140bf12
parent8253b92ceebcc41b85890e513db1a9211be5ff5a (diff)
downloadxmlgraphics-fop-84d2cda5f480f47b8fe1ec0943af39329d821802.tar.gz
xmlgraphics-fop-84d2cda5f480f47b8fe1ec0943af39329d821802.zip
Use checkstyle.config to get the appropriate checkstyle configuration file
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@306650 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index a58169efe..c0a9718be 100644
--- 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"/>