paulsp 2002/08/21 18:09:09
Modified: build build.xml
Added: build checkstyle.properties
Log:
Moved checkStyle task parameters into property file
Revision Changes Path
1.156 +2 -14 jakarta-jetspeed/build/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/build/build.xml,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -r1.155 -r1.156
--- build.xml 15 Aug 2002 23:55:54 -0000 1.155
+++ build.xml 22 Aug 2002 01:09:09 -0000 1.156
@@ -199,13 +199,7 @@
<delete quiet="true" file="build/${checkstyle.errors}"/>
<!-- Basic requirement -->
- <checkstyle lcurlyType="nl"
- lcurlyMethod="nl"
- lcurlyOther="nl"
- rcurly="alone"
- maxLineLen="130"
- maxMethodLen="300"
- javadocScope="nothing"
+ <checkstyle properties="build/checkstyle.properties"
failOnViolation="false"
failureProperty="checkstyle.failure"
cacheFile="build/${checkstyle.cache.basic}"
@@ -215,13 +209,7 @@
</checkstyle>
<!-- Ideal requirement -->
- <checkstyle lcurlyType="nl"
- lcurlyMethod="nl"
- lcurlyOther="nl"
- rcurly="alone"
- maxLineLen="130"
- maxMethodLen="300"
- javadocScope="nothing"
+ <checkstyle properties="build/checkstyle.properties"
failOnViolation="true"
cacheFile="build/${checkstyle.cache.ideal}"
basedir="${src.java.dir}">
1.1 jakarta-jetspeed/build/checkstyle.properties
Index: checkstyle.properties
===================================================================
#
# $Id: checkstyle.properties,v 1.1 2002/08/22 01:09:09 paulsp Exp $
#
checkstyle.lcurly.type=nl
checkstyle.lcurly.method=nl
checkstyle.lcurly.other=nl
checkstyle.rcurly=alone
checkstyle.maxlinelen=130
checkstyle.maxmethodlen=300
checkstyle.javadoc.scope=nothing
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>