Author: fhanik
Date: Tue Dec 21 17:39:11 2010
New Revision: 1051576

URL: http://svn.apache.org/viewvc?rev=1051576&view=rev
Log:
Allow to set log formatter when running Junit tests

Modified:
    tomcat/trunk/build.xml

Modified: tomcat/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1051576&r1=1051575&r2=1051576&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Tue Dec 21 17:39:11 2010
@@ -143,6 +143,8 @@
 
   <!-- Tests To Run -->
   <property name="test.name" value="**/Test*.java"/>
+  <property name="test.formatter" 
value="-Dorg.apache.juli.formatter=java.util.logging.SimpleFormatter"/>
+  
   <!-- Classpaths -->
   <path id="compile.classpath">
     <pathelement location="${jdt.jar}"/>
@@ -1047,6 +1049,7 @@
       <junit printsummary="yes" fork="yes" dir="." showoutput="yes">
 
         <jvmarg value="-Djava.library.path=${test.apr.loc}"/>
+        <jvmarg value="${test.formatter}"/>
 
         <classpath refid="tomcat.test.classpath" />
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to