cvs commit: jakarta-log4j build.xml build.properties.sample
[email protected] 25 May 2002 12:24:03 -0000
| Newsgroups | gmane.comp.jakarta.log4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
oburn 02/05/25 05:24:03
Modified: . build.xml build.properties.sample
Log:
Fixed how the Checkstyle JAR file is found to match the new build system.
Also updated the target to run chainsaw to include crimson.
Revision Changes Path
1.35 +6 -6 jakarta-log4j/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-log4j/build.xml,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- build.xml 10 May 2002 08:00:54 -0000 1.34
+++ build.xml 25 May 2002 12:24:03 -0000 1.35
@@ -9,9 +9,9 @@
<!-- ================================================================= -->
<project name="log4j" default="usage" basedir="." >
-
+
<!-- The build.properties file defines the parth to local jar files -->
- <property file="build.properties"/>
+ <property file="build.properties"/>
<!-- Read the system environment variables and stores them in properties, -->
<!-- prefixed with "env". -->
@@ -178,7 +178,7 @@
debug="on">
<classpath refid="compile.classpath"/>
</javac>
-
+
</target>
<target name="build.examples" depends="build.core">
@@ -251,7 +251,7 @@
<!-- ================================================================= -->
<target name="checkstyle" depends="init">
<taskdef resource="checkstyletask.properties"
- classpath="build/lib/checkstyle-all-2.1.jar"/>
+ classpath="${checkstyle.jar}"/>
<!-- by default checkstyle supports the Sun coding standard. -->
<checkstyle lcurlyMethod="nlow"
@@ -270,7 +270,7 @@
<target name="chainsaw" depends="build">
<!-- Need to fork to avoid problems -->
<java classname="org.apache.log4j.chainsaw.Main" fork="yes"
- classpath="${javac.dest}">
+ classpath="${javac.dest};${ant.home}/lib/crimson.jar">
</java>
</target>
@@ -424,7 +424,7 @@
**/Makefile, **/goEnv.bat,
docs/pub-support/*,
dist/classes/org/**,
- src/java/org/apache/log4j/test/**/*,
+ src/java/org/apache/log4j/test/**/*,
**/.#*"/>
</copy>
1.3 +2 -1 jakarta-log4j/build.properties.sample
Index: build.properties.sample
===================================================================
RCS file: /home/cvs/jakarta-log4j/build.properties.sample,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build.properties.sample 16 Apr 2002 14:37:32 -0000 1.2
+++ build.properties.sample 25 May 2002 12:24:03 -0000 1.3
@@ -18,5 +18,6 @@
jmx.jar=/java/jmx/lib/jmxri.jar
jmx-extra.jar=/java/jmx/lib/jmxtools.jar
-
+# Required to run Checkstyle. Available from http://checkstyle.sf.net
+checkstyle.jar=/java/checkstyle-2.2/checkstyle-all-2.2.jar