Update of /cvsroot/proxool/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv8697
Modified Files:
proxool-ant.properties build.xml
Log Message:
test task now defaults to ERROR to CONSOLE using
log4j-test.xml file.
Index: proxool-ant.properties
===================================================================
RCS file: /cvsroot/proxool/proxool/proxool-ant.properties,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** proxool-ant.properties 26 Feb 2003 23:20:36 -0000 1.7
--- proxool-ant.properties 27 Feb 2003 18:03:44 -0000 1.8
***************
*** 31,35 ****
# (replacing path-to-log4j-jar with the correct value, of course)
#
! # log4jPath=src/java-test/org/logicalcobwebs/proxool/log4j-chainsaw.xml
#
# 2. Or log to file (see lo4j-file.xml for destination)
--- 31,35 ----
# (replacing path-to-log4j-jar with the correct value, of course)
#
! log4jPath=src/java-test/org/logicalcobwebs/proxool/log4j-chainsaw.xml
#
# 2. Or log to file (see lo4j-file.xml for destination)
Index: build.xml
===================================================================
RCS file: /cvsroot/proxool/proxool/build.xml,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** build.xml 26 Feb 2003 23:20:35 -0000 1.32
--- build.xml 27 Feb 2003 18:03:44 -0000 1.33
***************
*** 33,36 ****
--- 33,40 ----
<property name="log4jPath" value=""/>
+ <!-- Log4J configuration to use for testing. See proxool-ant.properties
+ file for more infomation. -->
+ <property name="log4jTestPath" value="src/java-test/org/logicalcobwebs/proxool/log4j-test.xml"/>
+
<!-- Classpath -->
<path id="source" path="${build-dir}/classes" >
***************
*** 282,289 ****
name="test"
description="Runs the JUnit tests"
! depends="init,build-test,deleteTestDb"
>
<java fork="yes" classpathref="source" classname="junit.textui.TestRunner" >
! <sysproperty key="log4jPath" value="${log4jPath}" />
<sysproperty key="script" value="src/java-test/org/logicalcobwebs/proxool/script.xml" />
<arg value="org.logicalcobwebs.proxool.GlobalTest" />
--- 286,293 ----
name="test"
description="Runs the JUnit tests"
! depends="clean,init,build-test,deleteTestDb"
>
<java fork="yes" classpathref="source" classname="junit.textui.TestRunner" >
! <sysproperty key="log4jPath" value="${log4jTestPath}" />
<sysproperty key="script" value="src/java-test/org/logicalcobwebs/proxool/script.xml" />
<arg value="org.logicalcobwebs.proxool.GlobalTest" />
|