cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r549472 - in /cocoon/trunk/tools/cocoon-maven-plugin/src/main: java/org/apache/cocoon/maven/rcl/ReloadingWebappMojo.java resources/org/apache/cocoon/maven/rcl/WEB-INF/web.xml
Date Thu, 21 Jun 2007 13:28:50 GMT
Author: reinhard
Date: Thu Jun 21 06:28:49 2007
New Revision: 549472

URL: http://svn.apache.org/viewvc?view=rev&rev=549472
Log:
- the web.xml created by the rcl goal use the LockableApplicationContext
- enable Spring reload by default

Modified:
    cocoon/trunk/tools/cocoon-maven-plugin/src/main/java/org/apache/cocoon/maven/rcl/ReloadingWebappMojo.java
    cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/web.xml

Modified: cocoon/trunk/tools/cocoon-maven-plugin/src/main/java/org/apache/cocoon/maven/rcl/ReloadingWebappMojo.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-maven-plugin/src/main/java/org/apache/cocoon/maven/rcl/ReloadingWebappMojo.java?view=diff&rev=549472&r1=549471&r2=549472
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-plugin/src/main/java/org/apache/cocoon/maven/rcl/ReloadingWebappMojo.java
(original)
+++ cocoon/trunk/tools/cocoon-maven-plugin/src/main/java/org/apache/cocoon/maven/rcl/ReloadingWebappMojo.java
Thu Jun 21 06:28:49 2007
@@ -131,7 +131,7 @@
      *
      * @parameter
      */
-    private boolean reloadingSpringEnabled = false;
+    private boolean reloadingSpringEnabled = true;
 
     /**
      * Logging: Use a custom log4j xml configuration file=

Modified: cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/web.xml?view=diff&rev=549472&r1=549471&r2=549472
==============================================================================
--- cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/web.xml
(original)
+++ cocoon/trunk/tools/cocoon-maven-plugin/src/main/resources/org/apache/cocoon/maven/rcl/WEB-INF/web.xml
Thu Jun 21 06:28:49 2007
@@ -18,6 +18,11 @@
 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
 <web-app>
 
+  <context-param>
+    <param-name>contextClass</param-name>
+    <param-value>org.apache.cocoon.tools.rcl.springreloader.LockableApplicationContext</param-value>
+  </context-param>
+
   <filter>
     <filter-name>ReloadingSpringFilter</filter-name>
     <display-name>ReloadingSpringFilter</display-name>



Mime
View raw message