2006/unicorn remote_log4j.xml,NONE,1.1 build.xml,1.1.1.1,1.2 build-user.xml,1.1.1.1,1.2 .classpath,1.1.1.1,1.2 log4j.xml,1.3,1.4

Update of /sources/public/2006/unicorn
In directory hutz:/tmp/cvs-serv30684

Modified Files:
	build.xml build-user.xml .classpath log4j.xml 
Added Files:
	remote_log4j.xml 
Log Message:
Multithreading

Index: build.xml
===================================================================
RCS file: /sources/public/2006/unicorn/build.xml,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- build.xml	31 Aug 2006 09:05:18 -0000	1.1.1.1
+++ build.xml	29 Nov 2007 14:11:57 -0000	1.2
@@ -7,6 +7,12 @@
 <project name="unicorn" default="build" basedir=".">
     &buildfile;
     <property name="unicorn.location" value="."/>
+
+	<!-- Configure properties to access the Manager application -->
+	<property name="url"      value="http://flyingman.sophia.w3.org:8180/manager"/>
+	<property name="username" value="manager"/>
+	<property name="password" value="sdkSm58P"/>
+	
     <path id="project.classpath">
         <pathelement location="build"/>
         <pathelement location="${unicorn.location}/lib/activation.jar"/>
@@ -24,7 +30,21 @@
         <pathelement location="${unicorn.location}/lib/servlet.jar"/>
         <pathelement location="${unicorn.location}/lib/velocity-1.5-dev.jar"/>
         <pathelement location="${unicorn.location}/lib/xercesImpl.jar"/>
+    	<pathelement location="${unicorn.location}/lib/catalina-ant.jar"/>
     </path>
+	
+	<!-- Configure the custom Ant tasks for the Manager application -->
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="deploy" classname="org.apache.catalina.ant.DeployTask"/>
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="list"      classname="org.apache.catalina.ant.ListTask"/>
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="reload"    classname="org.apache.catalina.ant.ReloadTask"/>
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="resources" classname="org.apache.catalina.ant.ResourcesTask"/>
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="roles"     classname="org.apache.catalina.ant.RolesTask"/>
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="start"     classname="org.apache.catalina.ant.StartTask"/>
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="stop"      classname="org.apache.catalina.ant.StopTask"/>
+	<taskdef classpath="${unicorn.location}/lib/catalina-ant.jar" name="undeploy"  classname="org.apache.catalina.ant.UndeployTask"/>
+	
+	
+	
     <target name="init">
         <mkdir dir="build"/>
     </target>
@@ -89,4 +109,18 @@
             <classpath refid="project.classpath"/>
         </java>
     </target>
+	
+    <target name="deploy" description="Install web application" depends="localConfiguration">
+    	<deploy url="${url}" username="${username}" password="${password}" path="/unicorn"
+    	            war="unicorn.war"/>
+    </target>
+
+   	<target name="reload" description="Reload web application">
+   		<reload  url="${url}" username="${username}" password="${password}" path="/unicorn"/>
+   	</target>
+
+   	<target name="undeploy" description="Remove web application">
+   		<undeploy url="${url}" username="${username}" password="${password}" path="/unicorn"/>
+    </target>      
+	
 </project>

Index: .classpath
===================================================================
RCS file: /sources/public/2006/unicorn/.classpath,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- .classpath	31 Aug 2006 09:05:16 -0000	1.1.1.1
+++ .classpath	29 Nov 2007 14:11:58 -0000	1.2
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-	<classpathentry excluding="lib/" kind="src" path=""/>
+	<classpathentry excluding="lib/|buildsds/|conf/" kind="src" path=""/>
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry kind="con" path="com.omondo.uml.CONTAINER"/>
 	<classpathentry kind="lib" path="lib/activation.jar"/>
@@ -18,5 +18,6 @@
 	<classpathentry kind="lib" path="lib/servlet.jar"/>
 	<classpathentry kind="lib" path="lib/velocity-1.5-dev.jar"/>
 	<classpathentry kind="lib" path="lib/xercesImpl.jar"/>
+	<classpathentry kind="lib" path="lib/catalina-ant.jar"/>
 	<classpathentry kind="output" path="build"/>
 </classpath>

Index: log4j.xml
===================================================================
RCS file: /sources/public/2006/unicorn/log4j.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- log4j.xml	21 Sep 2006 16:01:25 -0000	1.3
+++ log4j.xml	29 Nov 2007 14:11:58 -0000	1.4
@@ -15,7 +15,7 @@
 	<!-- TEXT APPENDER - LEVEL APPENDER -->
 
 	<appender name="out-level-error-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/error.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/level/error.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="error" />
@@ -30,7 +30,7 @@
 	</appender>
 
 	<appender name="out-level-warning-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/warning.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/level/warning.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="warn" />
@@ -45,7 +45,7 @@
 	</appender>
 
 	<appender name="out-level-info-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/info.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/level/info.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="info" />
@@ -60,7 +60,7 @@
 	</appender>
 
 	<appender name="out-level-debug-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/debug.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/level/debug.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="debug" />
@@ -75,7 +75,7 @@
 	</appender>
 
 	<appender name="out-level-trace-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/trace.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/level/trace.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -94,7 +94,7 @@
 	<!-- TEXT APPENDER - PACKAGE APPENDER -->
 
 	<appender name="out-package-contract-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/contract.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/contract.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -104,7 +104,7 @@
 	</appender>
 
 	<appender name="out-package-index-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/index.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/index.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -114,7 +114,7 @@
 	</appender>
 
 	<appender name="out-package-input-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/input.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/input.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -124,7 +124,7 @@
 	</appender>
 
 	<appender name="out-package-output-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/output.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/output.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -134,7 +134,7 @@
 	</appender>
 
 	<appender name="out-package-request-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/request.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/request.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -144,7 +144,7 @@
 	</appender>
 
 	<appender name="out-package-servlet-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/servlet.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/servlet.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -154,7 +154,7 @@
 	</appender>
 
 	<appender name="out-package-tasklist-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/tasklist.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/tasklist.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -164,7 +164,7 @@
 	</appender>
 
 	<appender name="out-package-util-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/util.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/package/util.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />
@@ -174,7 +174,7 @@
 	</appender>
 
 	<appender name="out-package-unicorn-text" class="org.apache.log4j.RollingFileAppender">
-		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/all.log" />
+		<param name="File" value="D:/unicorn/WEB-INF/logs/all.log" />
 		<param name="MaxFileSize" value="1024KB" />
 		<param name="MaxBackupIndex" value="1" />
 		<param name="Threshold" value="trace" />

--- NEW FILE: remote_log4j.xml ---
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">

	<!-- APPENDER STD -->

	<appender name="out-all-std" class="org.apache.log4j.ConsoleAppender">
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%-5p (%F:%L) : %m%n" />
		</layout>
	</appender>

	<!-- TEXT APPENDER -->

	<!-- TEXT APPENDER - LEVEL APPENDER -->

	<appender name="out-level-error-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/error.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="error" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
		<filter class="org.apache.log4j.varia.LevelMatchFilter">
			<param name="LevelToMatch" value="error" />
			<param name="AcceptOnMatch" value="true" />
		</filter>
		<filter class="org.apache.log4j.varia.DenyAllFilter" />
	</appender>

	<appender name="out-level-warning-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/warning.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="warn" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
		<filter class="org.apache.log4j.varia.LevelMatchFilter">
			<param name="LevelToMatch" value="warn" />
			<param name="AcceptOnMatch" value="true" />
		</filter>
		<filter class="org.apache.log4j.varia.DenyAllFilter" />
	</appender>

	<appender name="out-level-info-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/info.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="info" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p %c{1} : %m%n" />
		</layout>
		<filter class="org.apache.log4j.varia.LevelMatchFilter">
			<param name="LevelToMatch" value="info" />
			<param name="AcceptOnMatch" value="true" />
		</filter>
		<filter class="org.apache.log4j.varia.DenyAllFilter" />
	</appender>

	<appender name="out-level-debug-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/debug.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="debug" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
		<filter class="org.apache.log4j.varia.LevelMatchFilter">
			<param name="LevelToMatch" value="debug" />
			<param name="AcceptOnMatch" value="true" />
		</filter>
		<filter class="org.apache.log4j.varia.DenyAllFilter" />
	</appender>

	<appender name="out-level-trace-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/level/trace.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
		<filter class="org.apache.log4j.varia.LevelMatchFilter">
			<param name="LevelToMatch" value="trace" />
			<param name="AcceptOnMatch" value="true" />
		</filter>
		<filter class="org.apache.log4j.varia.DenyAllFilter" />
	</appender>

	<!-- TEXT APPENDER - END OF LEVEL APPENDER -->

	<!-- TEXT APPENDER - PACKAGE APPENDER -->

	<appender name="out-package-contract-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/contract.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-index-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/index.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-input-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/input.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-output-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/output.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-request-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/request.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-servlet-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/servlet.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-tasklist-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/tasklist.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-util-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/package/util.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %m%n" />
		</layout>
	</appender>

	<appender name="out-package-unicorn-text" class="org.apache.log4j.RollingFileAppender">
		<param name="File" value="${catalina.home}/webapps/unicorn/WEB-INF/logs/all.log" />
		<param name="MaxFileSize" value="1024KB" />
		<param name="MaxBackupIndex" value="1" />
		<param name="Threshold" value="trace" />
		<layout class="org.apache.log4j.PatternLayout">
			<param name="ConversionPattern" value="%d{yyyy/MM/dd HH:mm:ss} %-5p (%F:%L) %c{1} : %m%n" />
		</layout>
	</appender>

	<!-- TEXT APPENDER - END OF PACKAGE APPENDER -->

	<!-- END OF TEXT APPENDER -->

	<!-- BEGIN OF LOGGER -->

	<logger name="org.w3c.unicorn.Framework">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.contract">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-contract-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.index">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-index-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.input">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-input-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.output">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-output-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.request">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-request-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.servlet">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-servlet-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.tasklist">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-tasklist-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>

	<logger name="org.w3c.unicorn.util">
		<level value="trace"/>
		<appender-ref ref="out-level-error-text" />
		<appender-ref ref="out-level-warning-text" />
		<appender-ref ref="out-level-info-text" />
		<appender-ref ref="out-level-debug-text" />
		<appender-ref ref="out-level-trace-text" />
		<appender-ref ref="out-package-util-text" />
		<appender-ref ref="out-package-unicorn-text" />
	</logger>


	<root>
		<level value="warn"/>
	</root>

</log4j:configuration>

Index: build-user.xml
===================================================================
RCS file: /sources/public/2006/unicorn/build-user.xml,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- build-user.xml	31 Aug 2006 09:05:18 -0000	1.1.1.1
+++ build-user.xml	29 Nov 2007 14:11:57 -0000	1.2
@@ -6,7 +6,14 @@
     <echo message="Please run: $ ant -v -projecthelp"/>
 </target>
 
-<target name="war" depends="build" description="Creates the webapp module">
+<target name="remoteConfiguration" depends="build" description="Workspace configuration for remote">
+	<copy file="./org/w3c/unicorn/util/remote-unicorn.properties" tofile="./build/org/w3c/unicorn/util/unicorn.properties" overwrite="true"/>
+	<copy file="./remote_log4j.xml" tofile="./build/log4j.xml" overwrite="true"/>
+	<copy file="./org/w3c/unicorn/extensions.properties" tofile="./build/org/w3c/unicorn/extensions.properties" overwrite="true"/>
+	<copy file="./org/w3c/unicorn/output/specialFormaters.properties" tofile="./build/org/w3c/unicorn/output/specialFormaters.properties" overwrite="true"/>
+</target>
+
+<target name="war" depends="remoteConfiguration" description="Creates the webapp module">
     <delete file="${war.file}"/>
     <war warfile="${war.file}" webxml="web.xml" basedir="." excludes="*,**">
         <classes dir="build">
@@ -14,9 +21,9 @@
         </classes>
         <classes dir=".">
             <exclude name="build/**"/>
-            <include name="**/*.properties"/>
+            <include name="build/**/*.properties"/>
         </classes>
-        <classes file="log4j.xml"/>
+        <classes file="./build/log4j.xml"/>
         <webinf dir=".">
             <include name="uploaded-files/**"/>
             <include name="logs/**"/>
@@ -31,6 +38,11 @@
     </war>
 </target>
 
+<target name="localConfiguration" depends="war">
+	<copy file="./org/w3c/unicorn/util/unicorn.properties" tofile="./build/org/w3c/unicorn/util/unicorn.properties" overwrite="true"/>
+</target>
+
+
 <target name="jar" depends="build" description="Creates the unicorn library">
 	<delete file="${jar.file}" />
 	<jar destfile="${jar.file}">

Received on Thursday, 29 November 2007 14:12:41 UTC