You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by "David Crossley (JIRA)" <ji...@apache.org> on 2006/08/10 06:02:15 UTC

[jira] Commented: (FOR-917) use Cocoon's new running modes properties system

    [ http://issues.apache.org/jira/browse/FOR-917?page=comments#action_12427093 ] 
            
David Crossley commented on FOR-917:
------------------------------------

Our SVN commit r430233 added default files for the version of Cocoon trunk that we are using.

The default properties are read from WEB-INF/properties/core.properties
The default running mode is "dev" which reads from WEB-INF/properties/dev/core.properties

To change it to "prod" or some other, then add to your project's forrest.properties ...
forrest.jvmargs=-Dorg.apache.cocoon.mode=prod

More core.properties can be added to ours as needed. See http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-webapp/src/main/webapp/WEB-INF/cocoon/properties/

See documentation at http://cocoon.zones.apache.org/daisy/documentation/g1/1162.html

Later versions of Cocoon trunk have "prod" as the default running mode and the files move to the WEB-INF/cocoon/properties/ directory. When we upgrade our Cocoon then we will need to change.





> use Cocoon's new running modes properties system
> ------------------------------------------------
>
>                 Key: FOR-917
>                 URL: http://issues.apache.org/jira/browse/FOR-917
>             Project: Forrest
>          Issue Type: Improvement
>          Components: Core operations
>    Affects Versions: 0.8-dev
>            Reporter: David Crossley
>
> Cocoon has a new properties system called "running modes". It reads properties from a set of configuration files under WEB-INF and makes these properties available in xconf configuration and sitemaps.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira