You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@continuum.apache.org by jv...@apache.org on 2005/07/08 07:49:46 UTC

svn commit: r209707 - in /maven/continuum/trunk/continuum-plexus-application: app.properties src/conf/application.xml

Author: jvanzyl
Date: Thu Jul  7 22:49:44 2005
New Revision: 209707

URL: http://svn.apache.org/viewcvs?rev=209707&view=rev
Log:
o adding caching parameter for velocity caching as macros are not refreshed
when caching is on

Modified:
    maven/continuum/trunk/continuum-plexus-application/app.properties
    maven/continuum/trunk/continuum-plexus-application/src/conf/application.xml

Modified: maven/continuum/trunk/continuum-plexus-application/app.properties
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-plexus-application/app.properties?rev=209707&r1=209706&r2=209707&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-plexus-application/app.properties (original)
+++ maven/continuum/trunk/continuum-plexus-application/app.properties Thu Jul  7 22:49:44 2005
@@ -24,6 +24,7 @@
 localization.directory=${plexus.home}/../../../../../continuum-web/src/main/resources/localization
 velocity.templates.directory=${plexus.home}/../../../../../continuum-web/src/main/resources/templates
 velocimacro.reload = true
+velocity.resource.caching = false
 forms.directory=${plexus.home}/../../../../../continuum-web/src/main/resources/forms
 jetty.port=8080
 
@@ -34,5 +35,6 @@
 #localization.directory=${plexus.home}/webapp/localization
 #velocity.templates.directory=${plexus.home}/webapp/templates
 #velocimacro.reload = false
+#velocity.resource.caching = true
 #forms.directory=${plexus.home}/webapp/forms
 #jetty.port=8080

Modified: maven/continuum/trunk/continuum-plexus-application/src/conf/application.xml
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-plexus-application/src/conf/application.xml?rev=209707&r1=209706&r2=209707&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-plexus-application/src/conf/application.xml (original)
+++ maven/continuum/trunk/continuum-plexus-application/src/conf/application.xml Thu Jul  7 22:49:44 2005
@@ -362,16 +362,14 @@
             <name>velocimacro.library</name>
             <value>/org/apache/maven/continuum/notification/mail/templates/common.vm,CommonMacros.vm</value>
           </property>
-          <!--
-
-          This is for dev and we need to find a way to flip this easily,
-          maybe a marmalade config reader that will do logic.
-
           <property>
             <name>velocimacro.library.autoreload</name>
             <value>@velocimacro.reload@</value>
           </property>
-          -->
+          <property>
+            <name>file.resource.loader.cache</name>
+            <value>@velocity.resource.caching@</value>
+          </property>          
         </properties>
       </configuration>
     </component>