Author: thomas.diesler(a)jboss.com
Date: 2008-05-09 05:11:53 -0400 (Fri, 09 May 2008)
New Revision: 6988
Added:
stack/metro/trunk/modules/testsuite/framework-tests/src/
stack/metro/trunk/modules/testsuite/framework-tests/src/test/
stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/
stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/jndi.properties
stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/tst.policy
Modified:
stack/metro/trunk/modules/testsuite/framework-tests/
stack/metro/trunk/modules/testsuite/pom.xml
Log:
Add log4j config
Property changes on: stack/metro/trunk/modules/testsuite/framework-tests
___________________________________________________________________
Name: svn:ignore
- src
target
+ target
Property changes on: stack/metro/trunk/modules/testsuite/framework-tests/src/test
___________________________________________________________________
Name: svn:ignore
+ ant-import
java
resources
Added: stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/jndi.properties
===================================================================
--- stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/jndi.properties
(rev 0)
+++
stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/jndi.properties 2008-05-09
09:11:53 UTC (rev 6988)
@@ -0,0 +1,3 @@
+java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
+java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
+java.naming.provider.url=jnp://@jboss.bind.address@:1099
\ No newline at end of file
Added: stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
===================================================================
--- stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
(rev 0)
+++ stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml 2008-05-09
09:11:53 UTC (rev 6988)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id$ -->
+
+<!--
+| For more configuration infromation and examples see the Jakarta Log4j
+| owebsite:
http://jakarta.apache.org/log4j
+-->
+
+<log4j:configuration
xmlns:log4j="http://jakarta.apache.org/log4j/"
debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE"
class="org.jboss.logging.appender.DailyRollingFileAppender">
+ <param name="File" value="${build.testlog}/test.log"/>
+ <param name="Append" value="false"/>
+
+ <!-- Rollover at midnight each day -->
+ <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c:%L]
%m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE"
class="org.apache.log4j.ConsoleAppender">
+ <param name="Threshold" value="INFO"/>
+ <param name="Target" value="System.out"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}]
%m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <category name="org.jboss.ws">
+ <priority value="DEBUG"/>
+ </category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <!--appender-ref ref="CONSOLE"/-->
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Property changes on:
stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/log4j.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/tst.policy
===================================================================
--- stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/tst.policy
(rev 0)
+++ stack/metro/trunk/modules/testsuite/framework-tests/src/test/etc/tst.policy 2008-05-09
09:11:53 UTC (rev 6988)
@@ -0,0 +1,4 @@
+grant {
+ permission java.security.AllPermission;
+};
+
Modified: stack/metro/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/metro/trunk/modules/testsuite/pom.xml 2008-05-09 08:59:46 UTC (rev 6987)
+++ stack/metro/trunk/modules/testsuite/pom.xml 2008-05-09 09:11:53 UTC (rev 6988)
@@ -127,8 +127,8 @@
<!--argLine>${surefire.jdpw.args}</argLine-->
<systemProperties>
<property>
- <name>build.testlog</name>
- <value>${project.build.directory}/test-log</value>
+ <name>log4j.output.dir</name>
+ <value>${project.build.directory}</value>
</property>
<property>
<name>java.naming.provider.url</name>