cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r523818 - /cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-webapp-wrapper/src/main/java/org/apache/cocoon/tools/rcl/wrapper/servlet/CocoonReloadingListener.java
Date Thu, 29 Mar 2007 19:50:21 GMT
Author: reinhard
Date: Thu Mar 29 12:50:20 2007
New Revision: 523818

URL: http://svn.apache.org/viewvc?view=rev&rev=523818
Log:
don't reload on every change - the reload of COB-INF/** resources is done by Cocoon. No need
for the
rcl here

Modified:
    cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-webapp-wrapper/src/main/java/org/apache/cocoon/tools/rcl/wrapper/servlet/CocoonReloadingListener.java

Modified: cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-webapp-wrapper/src/main/java/org/apache/cocoon/tools/rcl/wrapper/servlet/CocoonReloadingListener.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-webapp-wrapper/src/main/java/org/apache/cocoon/tools/rcl/wrapper/servlet/CocoonReloadingListener.java?view=diff&rev=523818&r1=523817&r2=523818
==============================================================================
--- cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-webapp-wrapper/src/main/java/org/apache/cocoon/tools/rcl/wrapper/servlet/CocoonReloadingListener.java
(original)
+++ cocoon/trunk/tools/cocoon-rcl/cocoon-rcl-webapp-wrapper/src/main/java/org/apache/cocoon/tools/rcl/wrapper/servlet/CocoonReloadingListener.java
Thu Mar 29 12:50:20 2007
@@ -55,12 +55,12 @@
                 changedFileParentPath.endsWith("config/avalon") ||                  // global
Avalon components
                 changedFilePath.endsWith(".xmap") ||                                // any
file that ends with xmap (sitemaps)
                 changedFilePath.endsWith(".xmap.xml") ||                            // any
sitemap that ends with xmap.xml (sitemaps)
+                changedFilePath.endsWith(".java") ||                                // any
Java class change
                 changedFileParentPath.endsWith("config/spring")) {                  // local
Spring bean configurations
             log.debug("Configuration file change detected [" + operation + "]: " + changedFile);
             reload = true;
         } else {
             log.debug("File change detected [" + operation + "]: " + changedFile);  // any
other file change
-            reload = true;
         }
     }
 



Mime
View raw message