Author: brett
Date: Sun Jan  8 22:03:31 2006
New Revision: 367217

URL: http://svn.apache.org/viewcvs?rev=367217&view=rev
Log:
[MRM-46] more skeleton webwork webapp

Added:
    maven/repository-manager/trunk/maven-repository-webapp/src/main/java/
    maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/java/org/apache/maven/repository/manager/web/action/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/validators.xml
   (with props)
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/xwork.xml
   (with props)
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/index.jsp
   (contents, props changed)
      - copied, changed from r367201, 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/index.jsp
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/plexus.xml
   (with props)
Removed:
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/index.jsp
Modified:
    maven/repository-manager/trunk/maven-repository-webapp/   (props changed)
    
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/web.xml

Propchange: maven/repository-manager/trunk/maven-repository-webapp/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Jan  8 22:03:31 2006
@@ -2,3 +2,4 @@
 *.ipr
 *.iws
 target
+META-INF

Added: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/validators.xml
URL: 
http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/validators.xml?rev=367217&view=auto
==============================================================================
--- 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/validators.xml
 (added)
+++ 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/validators.xml
 Sun Jan  8 22:03:31 2006
@@ -0,0 +1,29 @@
+<!--
+  ~ Copyright 2005-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<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="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="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

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/validators.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/validators.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Added: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/xwork.xml
URL: 
http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/xwork.xml?rev=367217&view=auto
==============================================================================
--- 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/xwork.xml
 (added)
+++ 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/xwork.xml
 Sun Jan  8 22:03:31 2006
@@ -0,0 +1,35 @@
+<!--
+  ~ Copyright 2005-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN"
+    "http://www.opensymphony.com/xwork/xwork-1.0.dtd";>
+
+<xwork>
+  <!-- Include webwork defaults (from WebWork JAR). -->
+  <include file="webwork-default.xml"/>
+
+  <!-- Configuration for the default package. -->
+  <package name="default" extends="webwork-default">
+    <!-- Default interceptor stack. -->
+    <default-interceptor-ref name="defaultStack"/>
+
+    <!-- Action: Front page -->
+    <action name="index" class="com.opensymphony.xwork.ActionSupport">
+      <result name="success" type="dispatcher">/WEB-INF/jsp/index.jsp</result>
+    </action>
+  </package>
+</xwork>
+

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/xwork.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/resources/xwork.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Copied: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/index.jsp
 (from r367201, 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/index.jsp)
URL: 
http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/index.jsp?p2=maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/index.jsp&p1=maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/index.jsp&r1=367201&r2=367217&rev=367217&view=diff
==============================================================================
--- 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/index.jsp
 (original)
+++ 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/index.jsp
 Sun Jan  8 22:03:31 2006
@@ -1,5 +1,12 @@
+<%@ taglib uri="webwork" prefix="ww" %>
 <html>
+<head>
+  <title>Maven Repository Manager</title>
+</head>
+
 <body>
-<h2>Hello World!</h2>
+
+<h1>Maven Repository Manager</h1>
+
 </body>
-</html>
+</html>
\ No newline at end of file

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/index.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/jsp/index.jsp
------------------------------------------------------------------------------
    svn:keywords = "Author Date Id Revision"

Added: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/plexus.xml
URL: 
http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/plexus.xml?rev=367217&view=auto
==============================================================================
--- 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/plexus.xml
 (added)
+++ 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/plexus.xml
 Sun Jan  8 22:03:31 2006
@@ -0,0 +1,114 @@
+<!--
+  ~ Copyright 2005-2006 The Apache Software Foundation.
+  ~
+  ~ Licensed under the Apache License, Version 2.0 (the "License");
+  ~ you may not use this file except in compliance with the License.
+  ~ You may obtain a copy of the License at
+  ~
+  ~      http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<plexus>
+  <!--
+    <load-on-start>
+      <component>
+        <role>org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor</role>
+        <role-hint>build-project</role-hint>
+      </component>
+      <component>
+        <role>org.codehaus.plexus.taskqueue.execution.TaskQueueExecutor</role>
+        <role-hint>check-out-project</role-hint>
+      </component>
+    </load-on-start>
+  -->
+
+  <components>
+
+    <!--
+     | Object factory for WebWork
+     -->
+    <component>
+      <role>com.opensymphony.xwork.ObjectFactory</role>
+      
<implementation>org.codehaus.plexus.xwork.PlexusObjectFactory</implementation>
+    </component>
+
+    <!--
+     | Logger manager
+     -->
+    <!--
+        <component>
+          <role>org.codehaus.plexus.logging.LoggerManager</role>
+          
<implementation>org.codehaus.plexus.logging.log4j.Log4JLoggerManager</implementation>
+          <lifecycle-handler>basic</lifecycle-handler>
+
+          <configuration>
+            <threshold>DEBUG</threshold>
+            <default-appender>console,rolling</default-appender>
+            <appenders>
+              <appender>
+                <id>console</id>
+                <threshold>DEBUG</threshold>
+                <type>org.apache.log4j.ConsoleAppender</type>
+                <conversion-pattern>%d [%t] %-5p %-30c{1} - 
%m%n</conversion-pattern>
+              </appender>
+
+              <appender>
+                <id>rolling</id>
+                <threshold>DEBUG</threshold>
+                <type>org.apache.log4j.RollingFileAppender</type>
+                <conversion-pattern>%-4r [%t] %-5p %c %x - 
%m%n</conversion-pattern>
+
+                <properties>
+                  <property>
+                    <name>file</name>
+                    <value>${plexus.home}/logs/continuum.log</value>
+                  </property>
+                  <property>
+                    <name>append</name>
+                    <value>true</value>
+                  </property>
+                  <property>
+                    <name>maxBackupIndex</name>
+                    <value>10</value>
+                  </property>
+                  <property>
+                    <name>maxFileSize</name>
+                    <value>10MB</value>
+                  </property>
+                </properties>
+              </appender>
+            </appenders>
+            <levels>
+              <level>
+                <hierarchy>org.codehaus.plexus.velocity</hierarchy>
+                <level>WARN</level>
+              </level>
+              <level>
+                
<hierarchy>org.codehaus.plexus.mailsender.MailSender</hierarchy>
+                <level>INFO</level>
+              </level>
+              <level>
+                <hierarchy>org.apache.jasper</hierarchy>
+                <level>INFO</level>
+              </level>
+              <level>
+                <hierarchy>com.opensymphony.xwork</hierarchy>
+                <level>INFO</level>
+              </level>
+              <level>
+                <hierarchy>com.opensymphony.webwork</hierarchy>
+                <level>INFO</level>
+              </level>
+            </levels>
+          </configuration>
+        </component>
+    -->
+  </components>
+
+</plexus>

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/plexus.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/plexus.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Modified: 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewcvs/maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/web.xml?rev=367217&r1=367216&r2=367217&view=diff
==============================================================================
--- 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/web.xml
 (original)
+++ 
maven/repository-manager/trunk/maven-repository-webapp/src/main/webapp/WEB-INF/web.xml
 Sun Jan  8 22:03:31 2006
@@ -28,7 +28,6 @@
   </servlet-mapping>
 
   <welcome-file-list>
-    <welcome-file>index.html</welcome-file>
-    <welcome-file>Index.action</welcome-file>
+    <welcome-file>index.action</welcome-file>
   </welcome-file-list>
 </web-app>


Reply via email to