jefft 02/04/14 05:16:40
Modified: . depchecker.xml
io build.xml
Log:
- Add checkstyle depchecker, and test use in io
- Fix depchecks which incorrectly used ${name}
Revision Changes Path
1.15 +33 -5 jakarta-avalon-excalibur/depchecker.xml
Index: depchecker.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/depchecker.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- depchecker.xml 14 Apr 2002 00:46:31 -0000 1.14
+++ depchecker.xml 14 Apr 2002 12:16:40 -0000 1.15
@@ -3,7 +3,7 @@
<!--
============================================================
Dependency updater
- Version 2.3
+ Version $Revision: 1.15 $
Jeff Turner <[EMAIL PROTECTED]>
This Ant script provides "functions" to check if
@@ -157,8 +157,36 @@
<property name="remedy" value="1) Download and unpack JUnitPerf
from ${nl}
| http://www.clarkware.com/software/JUnitPerf.html ${nl}
| 2) Copy the project's ant.properties.sample to ant.properties
${nl}
- | 3) In ant.properties, redefine the ${name} property ${nl}
- | to point to the path of ${name} in your ${nl}
+ | 3) In ant.properties, redefine the junitperf.jar property
${nl}
+ | to point to the path of junitperf.jar in your ${nl}
+ | downloaded distribution."/>
+
+ </ant>
+ </target>
+ <target name="checkCheckstyle">
+ <ant antfile="${depchecker.prefix}/depchecker.xml"
target="checkRequiredClass">
+ <property name="name" value="checkstyle-all-2.1.jar"/>
+ <property name="class"
value="com.puppycrawl.tools.checkstyle.CheckStyleTask"/>
+
+ <property name="classpath" value="${cp}"/>
+ <property name="remedy" value="1) Download and unpack Checkstyle
from ${nl}
+ | http://checkstyle.sourceforge.net/ ${nl}
+ | 2) Copy the project's ant.properties.sample to ant.properties
${nl}
+ | 3) In ant.properties, redefine the checkstyle-all-2.1.jar
property ${nl}
+ | to point to the path of checkstyle-all-2.1.jar in your
${nl}
+ | downloaded distribution."/>
+
+ </ant>
+ <ant antfile="${depchecker.prefix}/depchecker.xml"
target="checkRequiredClass">
+ <property name="name" value="checkstyle-all-2.1.jar or
jakarta-regexp-1.2.jar"/>
+ <property name="class" value="org.apache.regexp.RE"/>
+
+ <property name="classpath" value="${cp}"/>
+ <property name="remedy" value="1) Download and unpack Checkstyle
from ${nl}
+ | http://checkstyle.sourceforge.net/ ${nl}
+ | 2) Copy the project's ant.properties.sample to ant.properties
${nl}
+ | 3) In ant.properties, redefine the checkstyle-all-2.1.jar
property ${nl}
+ | to point to the path of checkstyle-all-2.1.jar in your
${nl}
| downloaded distribution."/>
</ant>
@@ -170,8 +198,8 @@
<property name="remedy" value="1) Download and unpack Avalon
Framework from ${nl}
|
http://jakarta.apache.org/builds/jakarta-avalon/release/framework ${nl}
| 2) Copy the project's ant.properties.sample to ant.properties
${nl}
- | 3) In ant.properties, redefine the ${name} property ${nl}
- | to point to the path of ${name} in your ${nl}
+ | 3) In ant.properties, redefine the avalon-framework.jar
property ${nl}
+ | to point to the path of avalon-framework.jar in your ${nl}
| downloaded Avalon."/>
</ant>
1.42 +2 -0 jakarta-avalon-excalibur/io/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-excalibur/io/build.xml,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- build.xml 14 Apr 2002 11:11:29 -0000 1.41
+++ build.xml 14 Apr 2002 12:16:40 -0000 1.42
@@ -193,6 +193,8 @@
<target name="checkstyle" if="do.checkstyle" description="Checkstyle">
+ <ant antfile="${depchecker.prefix}/depchecker.xml"
target="checkCheckstyle"/>
+
<!-- this invocation of checkstyle requires that checkstyle be
downloaded and setup -->
<!-- thats why you are required to define do.checkstyle property to
generate the report -->
<taskdef name="checkstyle"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>