vmassol 02/02/23 13:51:50
Modified: build build-servletapi.xml
Log:
* added checkstyle to doc
* modified some checkstyle params
* added servlet.jar as part of the distribution
Revision Changes Path
1.34 +7 -1 jakarta-cactus/build/build-servletapi.xml
Index: build-servletapi.xml
===================================================================
RCS file: /home/cvs/jakarta-cactus/build/build-servletapi.xml,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- build-servletapi.xml 5 Feb 2002 09:26:58 -0000 1.33
+++ build-servletapi.xml 23 Feb 2002 21:51:50 -0000 1.34
@@ -14,6 +14,9 @@
junit [REQUIRED] For running the unit tests.
+ checkstyle [REQUIRED] For checking coding and naming
+ conventions.
+
The following properties need to be set prior to calling this build file :
servlet.api [REQUIRED] The Servlet API against which Cactus
@@ -700,6 +703,7 @@
<copy todir="${out.lib.dir}" file="${junit.jar}"/>
<copy todir="${out.lib.dir}" file="${httpclient.jar}"/>
<copy todir="${out.lib.dir}" file="${aspectjrt.jar}"/>
+ <copy todir="${out.lib.dir}" file="${servlet.jar}"/>
<!-- Copy the dist directory for the current Servlet API to the
dist.dir directory -->
@@ -730,7 +734,9 @@
<echo message="Errors are reported in
${out.root.dir}/checkstyle_servlet${servlet.api}.xml"/>
- <checkstyle failOnViolation="false" paramPattern="^the[A-Z][a-zA-Z0-9]*$">
+ <checkstyle paramPattern="^(the|is|has)[A-Z][a-zA-Z0-9]*$"
+ allowProtected="true" headerFile="LICENSE">
+
<fileset dir="${src.java.servlet.dir}">
<include name="**/*.java"/>
</fileset>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>