Author: thorsten
Date: Wed Aug 2 16:29:56 2006
New Revision: 428188
URL: http://svn.apache.org/viewvc?rev=428188&view=rev
Log:
FOR-799 - remove all references from the core to the dispatcher
I removed all properties related to the dispatcher (or former versions) from the core.
This includes cleaning
- basic (further switched to a minimal config) and fresh-site seed forrest.properties
- default-forrest.properties
- forrest-core.xconf
Further adding of forrest.properties.xml to basic and fresh-site seed.
Switching to the new properties system in all code of the dispatcher plugin where former core references have been.
Added:
forrest/trunk/main/fresh-site/forrest.properties.xml (with props)
forrest/trunk/main/template-sites/basic/forrest.properties.xml (with props)
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml (with props)
Modified:
forrest/trunk/main/template-sites/basic/forrest.properties
forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf
forrest/trunk/main/webapp/default-forrest.properties
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources.xmap
Added: forrest/trunk/main/fresh-site/forrest.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh-site/forrest.properties.xml?rev=428188&view=auto
==============================================================================
--- forrest/trunk/main/fresh-site/forrest.properties.xml (added)
+++ forrest/trunk/main/fresh-site/forrest.properties.xml Wed Aug 2 16:29:56 2006
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
Propchange: forrest/trunk/main/fresh-site/forrest.properties.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: forrest/trunk/main/template-sites/basic/forrest.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/main/template-sites/basic/forrest.properties?rev=428188&r1=428187&r2=428188&view=diff
==============================================================================
--- forrest/trunk/main/template-sites/basic/forrest.properties (original)
+++ forrest/trunk/main/template-sites/basic/forrest.properties Wed Aug 2 16:29:56 2006
@@ -14,144 +14,12 @@
# limitations under the License.
##############
-# These are the defaults, un-comment them only if you need to change them.
-#
-# You can even have a completely empty file, to assist with maintenance.
-# The file obtained from 'forrest seed-sample' shows the defaults.
+# 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.
##############
-
-# Prints out a summary of Forrest settings for this project
-#forrest.echo=true
-
-# Project name (used to name .war file)
-#project.name=my-project
-
-# Specifies name of Forrest skin to use
-# See list at http://forrest.apache.org/docs/skins.html
-#project.skin=pelt
-
-# codename: Dispatcher
-# Dispatcher is using a fallback mechanism for theming.
-# You can configure the theme name and its extension here
-#project.theme-extension=.fv
-#project.theme=pelt
-
-
-# Descriptors for plugins and skins
-# comma separated list, file:// is supported
-#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
-#forrest.plugins.descriptors=http://forrest.apache.org/plugins/plugins.xml,http://forrest.apache.org/plugins/whiteboard-plugins.xml
-
-##############
-# behavioural properties
-#project.menu-scheme=tab_attributes
-#project.menu-scheme=directories
-
-##############
-# layout properties
-
-# Properties that can be set to override the default locations
-#
-# Parent properties must be set. This usually means uncommenting
-# project.content-dir if any other property using it is uncommented
-
-#project.status=status.xml
-#project.content-dir=src/documentation
-#project.raw-content-dir=${project.content-dir}/content
-#project.conf-dir=${project.content-dir}/conf
-#project.sitemap-dir=${project.content-dir}
-#project.xdocs-dir=${project.content-dir}/content/xdocs
-#project.resources-dir=${project.content-dir}/resources
-#project.stylesheets-dir=${project.resources-dir}/stylesheets
-#project.images-dir=${project.resources-dir}/images
-#project.schema-dir=${project.resources-dir}/schema
-#project.skins-dir=${project.content-dir}/skins
-#project.skinconf=${project.content-dir}/skinconf.xml
-#project.lib-dir=${project.content-dir}/lib
-#project.classes-dir=${project.content-dir}/classes
-#project.translations-dir=${project.content-dir}/translations
-
-#project.build-dir=${project.home}/build
-#project.site=site
-#project.site-dir=${project.build-dir}/${project.site}
-#project.temp-dir=${project.build-dir}/tmp
-
-##############
-# Cocoon catalog entity resolver properties
-# A local OASIS catalog file to supplement the default Forrest catalog
-#project.catalog=${project.schema-dir}/catalog.xcat
-
-##############
-# validation properties
-
-# This set of properties determine if validation is performed
-# Values are inherited unless overridden.
-# e.g. if forrest.validate=false then all others are false unless set to true.
-#forrest.validate=true
-#forrest.validate.xdocs=${forrest.validate}
-#forrest.validate.skinconf=${forrest.validate}
-#forrest.validate.sitemap=${forrest.validate}
-#forrest.validate.stylesheets=${forrest.validate}
-#forrest.validate.skins=${forrest.validate}
-#forrest.validate.skins.stylesheets=${forrest.validate.skins}
-
-# *.failonerror=(true|false) - stop when an XML file is invalid
-#forrest.validate.failonerror=true
-
-# *.excludes=(pattern) - comma-separated list of path patterns to not validate
-# Note: If you do add an "excludes" list then you need to specify site.xml too.
-# e.g.
-#forrest.validate.xdocs.excludes=site.xml, samples/subdir/**, samples/faq.xml
-#forrest.validate.xdocs.excludes=site.xml
-
-
-##############
-# General Forrest properties
-
-# The URL to start crawling from
-#project.start-uri=linkmap.html
-
-# Set logging level for messages printed to the console
-# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
-#project.debuglevel=ERROR
-
-# Max memory to allocate to Java
-#forrest.maxmemory=64m
-
-# Any other arguments to pass to the JVM. For example, to run on an X-less
-# server, set to -Djava.awt.headless=true
-#forrest.jvmargs=
-
-# The bugtracking URL - the issue number will be appended
-# Projects would use their own issue tracker, of course.
-#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
-#project.bugtracking-url=http://issues.apache.org/jira/browse/
-
-# The issues list as rss
-#project.issues-rss-url=
-
-#I18n Property. Based on the locale request for the browser.
-#If you want to use it for static site then modify the JVM system.language
-# and run once per language
-#project.i18n=false
-
-# The names of plugins that are required to build the project
-# comma separated list (no spaces)
-# You can request a specific version by appending "-VERSION" to the end of
-# the plugin name. If you exclude a version number, the latest released version
-# will be used. However, be aware that this may be a development version. In
-# a production environment it is recommended that you specify a known working
-# version.
-# Run "forrest available-plugins" for a list of plug-ins currently available.
project.required.plugins=org.apache.forrest.plugin.output.pdf
-
# codename: Dispatcher
# Add the following plugins to project.required.plugins:
#org.apache.forrest.plugin.internal.dispatcher,org.apache.forrest.themes.core
-
-# Proxy configuration
-# - proxy.user and proxy.password are only needed if the proxy is an authenticated one...
-# proxy.host=myproxy.myhost.com
-# proxy.port=
-# proxy.user=
-# proxy.password=
Added: forrest/trunk/main/template-sites/basic/forrest.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/template-sites/basic/forrest.properties.xml?rev=428188&view=auto
==============================================================================
--- forrest/trunk/main/template-sites/basic/forrest.properties.xml (added)
+++ forrest/trunk/main/template-sites/basic/forrest.properties.xml Wed Aug 2 16:29:56 2006
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
Propchange: forrest/trunk/main/template-sites/basic/forrest.properties.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf?rev=428188&r1=428187&r2=428188&view=diff
==============================================================================
--- forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf (original)
+++ forrest/trunk/main/webapp/WEB-INF/xconf/forrest-core.xconf Wed Aug 2 16:29:56 2006
@@ -238,12 +238,6 @@
@forrest.home@/whiteboard/plugins@forrest.home@/build/plugins@context.home@/locationmap.xml
- @forrest.home@/build/plugins/org.apache.forrest.plugin.internal.dispatcher
- @forrest.home@/build/plugins/org.apache.forrest.themes.core
- @forrest.home@/build/plugins/@project.view.internal.plugin@
- @forrest.home@/build/plugins/@project.theme.plugin@/resources/views
- .fv
- common
@@ -251,11 +245,6 @@
@project.home@@project.build-dir@/@project.site@
- @project.themer@
- @project.stucturer@
- @project.theme-sourcetypeDir@
- @project.theme-extension@
- @project.theme@@project.skin@@project.home@/@project.sitemap@@project.home@/@project.status@
Modified: forrest/trunk/main/webapp/default-forrest.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/default-forrest.properties?rev=428188&r1=428187&r2=428188&view=diff
==============================================================================
--- forrest/trunk/main/webapp/default-forrest.properties (original)
+++ forrest/trunk/main/webapp/default-forrest.properties Wed Aug 2 16:29:56 2006
@@ -23,9 +23,6 @@
# Project name (used to name .war file)
project.name=my-project
-#views
-project.theme-extension=.fv
-project.theme=common
# Specifies name of Forrest skin to use
project.skin=pelt
@@ -63,8 +60,6 @@
project.grammars-dir=${project.resources-dir}/grammars
project.skins-dir=${project.content-dir}/skins
project.skinconf=${project.content-dir}/skinconf.xml
-# theme-dir this overtakes the functionality of the former skins-dir
-project.theme-dir=${project.resources-dir}/themes
project.lib-dir=${project.content-dir}/lib
project.classes-dir=${project.content-dir}/classes
project.translations-dir=${project.content-dir}/translations
@@ -161,11 +156,3 @@
# comma separated list (no spaces)
project.required.plugins.src=${forrest.home}/plugins,${forrest.home}/whiteboard/plugins
-# Views v1 Configuration
-project.view.internal.plugin=org.apache.forrest.plugin.internal.view
-project.theme.plugin=org.apache.forrest.plugin.internal.view
-##########################################
-# *advanced configuration* v2 - you can specify which plugins you want
-# use internal.
-project.themer=${forrest.home}/build/plugins/org.apache.forrest.plugin.output.themer
-project.stucturer=${forrest.home}/build/plugins/org.apache.forrest.plugin.internal.structurer
Added: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml?rev=428188&view=auto
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml (added)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml Wed Aug 2 16:29:56 2006
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
Propchange: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties?rev=428188&r1=428187&r2=428188&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/forrest.properties Wed Aug 2 16:29:56 2006
@@ -24,5 +24,4 @@
forrest.validate.skinconf=false
# FIXME: FOR-912
forrest.validate.xdocs.excludes=dispatcher-glossary.xml
-project.theme=pelt
project.required.plugins=org.apache.forrest.plugin.internal.dispatcher,org.apache.forrest.themes.core,org.apache.forrest.plugin.input.projectInfo,org.apache.forrest.plugin.output.pdf,org.apache.forrest.plugin.input.glossary
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml?rev=428188&r1=428187&r2=428188&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml Wed Aug 2 16:29:56 2006
@@ -113,25 +113,28 @@
+
+
+
+
+
+
+
+
-
+
@@ -163,20 +166,20 @@
a) custom implementation of the themes.core plugin
b) themes.core plugin
where we test for
- 1) {project:theme}{project:theme-ext}
- 2) {defaults:theme}{defaults:theme-ext}
+ 1) {project:dispatcher.theme}{project:dispatcher.theme-ext}
+ 2) {project:dispatcher.fallback.theme}{project:dispatcher.fallback.theme-ext}
-->
@@ -251,22 +246,16 @@
@@ -274,10 +263,7 @@
@@ -289,54 +275,42 @@
@@ -344,43 +318,24 @@
-
+
-
+
-
+
@@ -392,10 +347,7 @@
-
+
-
+
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources.xmap?rev=428188&r1=428187&r2=428188&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/resources.xmap Wed Aug 2 16:29:56 2006
@@ -87,27 +87,27 @@
-
+
+ value="resources/skin/{path}/{project:dispatcher.theme}/{name}.css" />
-
-
+
-
+
+ value="resources/skin/{path}/{project:dispatcher.theme}/{name}.css.xslt" />
-
+
+ value="resources/skin/{path}/{project:dispatcher.theme}/{name}.svg.xslt" />