morrijr 02/01/24 06:17:37
Modified: . .cvsignore build.bat build.sh build.xml
Log:
CheckStyle task
Revision Changes Path
1.5 +1 -0 xml-cocoon2/.cvsignore
Index: .cvsignore
===================================================================
RCS file: /home/cvs/xml-cocoon2/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 18 Jul 2001 11:48:37 -0000 1.4
+++ .cvsignore 24 Jan 2002 14:17:36 -0000 1.5
@@ -1,4 +1,5 @@
build
dist
+tools/anttasks
.ant.properties
1.12 +2 -1 xml-cocoon2/build.bat
Index: build.bat
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.bat,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- build.bat 23 Jan 2002 07:22:56 -0000 1.11
+++ build.bat 24 Jan 2002 14:17:36 -0000 1.12
@@ -2,13 +2,14 @@
rem ----------------------------------------------------------------------------
rem build.bat - Win32 Build Script for Apache Cocoon
rem
-rem $Id: build.bat,v 1.11 2002/01/23 07:22:56 crossley Exp $
+rem $Id: build.bat,v 1.12 2002/01/24 14:17:36 morrijr Exp $
rem ----------------------------------------------------------------------------
rem ----- Copy Xalan and Xerces for the build system ------------------------
copy lib\core\xerces*.jar tools\lib
copy lib\core\xalan*.jar tools\lib
copy lib\core\xml-api*.jar tools\lib
+copy lib\core\jakarta-regexp*.jar \tools\lib
copy lib\optional\jtidy*.jar tools\lib
rem ----- Verify and Set Required Environment Variables ------------------------
1.12 +1 -0 xml-cocoon2/build.sh
Index: build.sh
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.sh,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- build.sh 23 Jan 2002 07:22:56 -0000 1.11
+++ build.sh 24 Jan 2002 14:17:36 -0000 1.12
@@ -7,6 +7,7 @@
cp ./lib/core/xalan*.jar ./tools/lib
cp ./lib/core/xerces*.jar ./tools/lib
cp ./lib/core/xml-api*.jar ./tools/lib
+cp ./lib/core/jakarta-regexp*.jar ./tools/lib
cp ./lib/optional/jtidy*.jar ./tools/lib
chmod u+x ./tools/bin/antRun
1.146 +13 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -r1.145 -r1.146
--- build.xml 23 Jan 2002 07:22:56 -0000 1.145
+++ build.xml 24 Jan 2002 14:17:36 -0000 1.146
@@ -1541,6 +1541,19 @@
<fixcrlf srcdir="${java.dir}" includes="**/*.java" eol="lf"/>
</target>
+ <!-- =================================================================== -->
+ <!-- Checks code against standards -->
+ <!-- =================================================================== -->
+ <target name="checkSource" depends="init" description="Checks the style of Java
code">
+ <taskdef name="checkstyle"
+ classname="com.puppycrawl.tools.checkstyle.CheckStyleTask"/>
+
+ <checkstyle>
+ <fileset dir="src/java" includes="**/*.java"/>
+ <formatter type="plain"/>
+ </checkstyle>
+ </target>
+
</project>
<!-- End of file -->
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]