cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bertrand Delacretaz <bdelacre...@apache.org>
Subject Re: XMLFileModule issue with 2.1.7-dev
Date Thu, 03 Mar 2005 12:54:49 GMT
Le 3 mars 05, à 13:36, Jeremy Quinn a écrit :

> ...Regardless of the settings of @reloadable or @cacheable, the module 
> always requires that Cocoon be restarted to get changes in the files 
> activated in the sitemap...

I got it working with 2.1.6 as follows (XConfTask source excerpt), 
including reloading. IIRC it is the documentation that is wrong, I 
remember digging into the code to find out how this works.

     <component-instance
         class="org.apache.cocoon.components.modules.input.XMLFileModule"
         logger="app.config.XmlConfig"
         name="myConfig">
          <reloadable>true</reloadable>
          <cacheable>true</cacheable>
          <file src="${some.property}"/>
     </component-instance>

-Bertrand

Mime
View raw message