continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ken...@apache.org
Subject svn commit: r422904 - in /maven/continuum/trunk/continuum-webapp/src/main/resources: log4j.xml validators.xml
Date Mon, 17 Jul 2006 22:31:55 GMT
Author: kenney
Date: Mon Jul 17 15:31:54 2006
New Revision: 422904

URL: http://svn.apache.org/viewvc?rev=422904&view=rev
Log:
Added a log4j.xml configuration file because JPOX needs it - nice to
see some output for that if something goes wrong. 

Updated the validators - most of them don't exist, so I copied 
them from http://www.opensymphony.com/webwork/wikidocs/Validation.html.

Added:
    maven/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml   (with props)
Modified:
    maven/continuum/trunk/continuum-webapp/src/main/resources/validators.xml

Added: maven/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml?rev=422904&view=auto
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml (added)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml Mon Jul 17 15:31:54
2006
@@ -0,0 +1,21 @@
+<?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 name="default" class="org.apache.log4j.ConsoleAppender">
+    <param name="Target" value="System.out"/>
+    <param name="Threshold" value="DEBUG"/>
+
+    <layout class="org.apache.log4j.PatternLayout">
+      <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p %-20c [%C] %m%n"/>
+    </layout>
+  </appender>
+
+  <root>
+		<priority value="INFO"/>
+    <appender-ref ref="default"/>
+  </root>
+
+</log4j:configuration>

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/continuum/trunk/continuum-webapp/src/main/resources/log4j.xml
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Modified: maven/continuum/trunk/continuum-webapp/src/main/resources/validators.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/resources/validators.xml?rev=422904&r1=422903&r2=422904&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/resources/validators.xml (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/resources/validators.xml Mon Jul 17 15:31:54
2006
@@ -1,13 +1,16 @@
 <validators>
-  <validator name="required" class="com.opensymphony.webwork.validators.JavaScriptRequiredFieldValidator"/>
-  <validator name="requiredstring" class="com.opensymphony.webwork.validators.JavaScriptRequiredStringValidator"/>
-  <validator name="int" class="com.opensymphony.webwork.validators.JavaScriptIntRangeFieldValidator"/>
-  <validator name="date" class="com.opensymphony.webwork.validators.JavaScriptDateRangeFieldValidator"/>
+  <validator name="required" class="com.opensymphony.xwork.validator.validators.RequiredFieldValidator"/>
+  <validator name="requiredstring" class="com.opensymphony.xwork.validator.validators.RequiredStringValidator"/>
+  <validator name="int" class="com.opensymphony.xwork.validator.validators.IntRangeFieldValidator"/>
+  <validator name="double" class="com.opensymphony.xwork.validator.validators.DoubleRangeFieldValidator"/>
+  <validator name="date" class="com.opensymphony.xwork.validator.validators.DateRangeFieldValidator"/>
   <validator name="expression" class="com.opensymphony.xwork.validator.validators.ExpressionValidator"/>
   <validator name="fieldexpression" class="com.opensymphony.xwork.validator.validators.FieldExpressionValidator"/>
-  <validator name="email" class="com.opensymphony.webwork.validators.JavaScriptEmailValidator"/>
-  <validator name="url" class="com.opensymphony.webwork.validators.JavaScriptURLValidator"/>
-  <validator name="visitor" class="com.opensymphony.webwork.validators.JavaScriptVisitorFieldValidator"/>
+  <validator name="email" class="com.opensymphony.xwork.validator.validators.EmailValidator"/>
+  <validator name="url" class="com.opensymphony.xwork.validator.validators.URLValidator"/>
+  <validator name="visitor" class="com.opensymphony.xwork.validator.validators.VisitorFieldValidator"/>
   <validator name="conversion" class="com.opensymphony.xwork.validator.validators.ConversionErrorFieldValidator"/>
   <validator name="stringlength" class="com.opensymphony.xwork.validator.validators.StringLengthFieldValidator"/>
-</validators>
\ No newline at end of file
+  <validator name="regex" class="com.opensymphony.xwork.validator.validators.RegexFieldValidator"/>
+</validators>
+



Mime
View raw message