forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: default properties (Was: svn commit: r703147)
Date Fri, 10 Oct 2008 07:16:49 GMT
On Fri, 2008-10-10 at 10:13 +1100, David Crossley wrote:
> > Author: thorsten
> > Date: Thu Oct  9 05:02:32 2008
> > New Revision: 703147
> > 
> > URL: http://svn.apache.org/viewvc?rev=703147&view=rev
> > Log:
> > Removing extension property since it equal the default. No need to declare it\!
> 
> We are declaring the defaults elsewhere in all the
> properties files. 

I am not sure I understand you. 

The xml system follows exactly what we say in a forrest.properties of a
plugin config.
##############
# This is a minimal properties file.
# These are defaults, un-comment them only if you need to change them.
# See the full set of default properties in a 'forrest seed-sample'
site.
# Copy properties from there as needed.
##############

In case of the plugins the default properties are stored in
$PLUGIN_HOME/default.plugin.properties.xml

> Would it be better to be consistent?

You mean always minimal configuration and reference to a complete
overview of all properties.

> Where else are the available properties documented?

the dispatcher default:
http://forrest.apache.org/pluginDocs/plugins_0_80/org.apache.forrest.plugin.internal.dispatcher/int/index.html

the core/all aviable:
http://forrest.apache.org/docs_0_90/properties.html

Hmm just notice that
http://forrest.apache.org/module.properties.properties does not exist. 

However 
http://localhost:8888/module.properties.properties returns you a
complete list of all properties. 

We should add a paragraph (or two) about the default properties and how
to best override them (take only what you need)

salu2. 
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message