vmassol 02/04/14 04:16:14
Modified: framework build.xml
Log:
call checkstyle as part of dist target and fail on violations
Revision Changes Path
1.5 +3 -2 jakarta-cactus/framework/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/framework/build.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- build.xml 14 Apr 2002 10:47:03 -0000 1.4
+++ build.xml 14 Apr 2002 11:16:14 -0000 1.5
@@ -364,7 +364,7 @@
Generate the distributable files
========================================================================
-->
- <target name="dist" depends="jar,test,doc"
+ <target name="dist" depends="jar,test,doc,checkstyle"
description="Generate the distributable files">
<mkdir dir="${dist.lib.dir}"/>
@@ -440,7 +440,7 @@
ignoreWhitespace="false"
ignoreCastWhitespace="false"
ignoreBraces="false"
- failOnViolation="false"
+ failOnViolation="true"
cacheFile="${target.dir}/checkstyle.cache">
<fileset dir="${src.java.dir}">
@@ -450,6 +450,7 @@
<fileset dir="${src.test.dir}">
<include name="**/*.java"/>
</fileset>
+ <formatter type="plain"/>
<formatter type="xml" toFile="${target.dir}/checkstyle_errors.xml"/>
</checkstyle>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>