From b8b0610cd50efb49733f5ed60e4d14731e34adec Mon Sep 17 00:00:00 2001 From: crossley Date: Thu, 14 Jul 2005 02:23:37 +0000 Subject: [PATCH] Upgrade to forrest-0.7 ... will finish off at ApacheCon hackathon. Still need to tidy up and also update the "howto forrest" and readme. git-svn-id: https://svn.apache.org/repos/asf/xml/commons/trunk@226257 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 27 ++- forrest.properties | 119 +++++----- src/documentation/sitemap.xmap | 411 +-------------------------------- src/documentation/skinconf.xml | 360 ++++++++++++++++++++++------- 4 files changed, 380 insertions(+), 537 deletions(-) diff --git a/build.xml b/build.xml index c2af451..eef9bf2 100644 --- a/build.xml +++ b/build.xml @@ -1,7 +1,9 @@ + + + @@ -112,14 +121,24 @@ just creates a distribution out of all of them. - + + + + + + + + + @@ -130,5 +149,7 @@ just creates a distribution out of all of them. + diff --git a/forrest.properties b/forrest.properties index 4311166..2ad81c7 100644 --- a/forrest.properties +++ b/forrest.properties @@ -1,19 +1,37 @@ +# Copyright 2002-2005 The Apache Software Foundation or its licensors, +# as applicable. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + ############## # Properties used by forrest.build.xml for building the website +# These are the defaults, un-comment them only if you need to change them. ############## # Prints out a summary of Forrest settings for this project -#forrest.echo=true +#forrest.echo=true # Project name (used to name .war file) #project.name=my-project # Specifies name of Forrest skin to use -#project.skin=forrest-site -#project.skin=forrest-css -#project.skin=avalon-tigris -#project.skin=krysalis-site +# See list at http://forrest.apache.org/docs/skins.html +#project.skin=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 @@ -23,13 +41,14 @@ ############## # layout properties -# Properties that must be set to override the default locations +# 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 @@ -41,24 +60,14 @@ #project.skinconf=${project.content-dir}/skinconf.xml #project.lib-dir=${project.content-dir}/lib #project.classes-dir=${project.content-dir}/classes - - -############## -# Cocoon catalog entity resolver properties - -# A local OASIS catalog file to supplement the default Forrest catalog -#project.catalog=${project.schema-dir}/catalog.xcat - -# The verbosity level for the entity resolver (1..10) -#forrest.catalog.verbosity=1 - +#project.translations-dir=${project.content-dir}/translations ############## # validation properties -# These props determine if validation is performed at all +# This set of properties determine if validation is performed # Values are inherited unless overridden. -# Eg, if forrest.validate=false, then all others are false unless set to true. +# 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} @@ -67,50 +76,54 @@ #forrest.validate.skins=${forrest.validate} #forrest.validate.skins.stylesheets=${forrest.validate.skins} - -# Key: -# *.failonerror=(true|false) stop when an XML file is invalid -# *.includes=(pattern) Comma-separated list of path patterns to validate -# *.excludes=(pattern) Comma-separated list of path patterns to not validate - +# *.failonerror=(true|false) - stop when an XML file is invalid #forrest.validate.failonerror=true -#forrest.validate.includes=**/* -#forrest.validate.excludes= -# -#forrest.validate.xdocs.failonerror=${forrest.validate.failonerror} -# -#forrest.validate.xdocs.includes=**/*.x* -#forrest.validate.xdocs.excludes=site.xml -# -#forrest.validate.skinconf.includes=${skinconf-file} -#forrest.validate.skinconf.excludes= -#forrest.validate.skinconf.failonerror=${forrest.validate.failonerror} -# -#forrest.validate.sitemap.includes=${sitemap-file} -#forrest.validate.sitemap.excludes= -#forrest.validate.sitemap.failonerror=${forrest.validate.failonerror} -# -#forrest.validate.stylesheets.includes=**/*.xsl -#forrest.validate.stylesheets.excludes= -#forrest.validate.stylesheets.failonerror=${forrest.validate.failonerror} -# -#forrest.validate.skins.includes=**/* -#forrest.validate.skins.excludes=**/*.xsl -#forrest.validate.skins.failonerror=${forrest.validate.failonerror} -# -#forrest.validate.skins.stylesheets.includes=**/*.xsl -#forrest.validate.skins.stylesheets.excludes= -#forrest.validate.skins.stylesheets.failonerror=${forrest.validate.skins.failonerror} + +# *.excludes=(pattern) - comma-separated list of path patterns to not validate +# e.g. +#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml +#forrest.validate.xdocs.excludes= + ############## # General Forrest properties # The URL to start crawling from -#project.start-uri=index.html +#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 +#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=true + +# 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 recomended 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,org.apache.forrest.plugin.input.projectInfo + +# Proxy configuration +# proxy.host= +# proxy.port= diff --git a/src/documentation/sitemap.xmap b/src/documentation/sitemap.xmap index 253a006..c8d41de 100644 --- a/src/documentation/sitemap.xmap +++ b/src/documentation/sitemap.xmap @@ -1,405 +1,16 @@ - - - - - - - - - - - - - - - //*[local-name() = 'section'] - title/text() - - - - - - href src - site ext - - - - - - /site// - /@href - - - - - - /site/external-refs// - /@href - - - - - - false - false - false - org.apache.xalan.processor.TransformerFactoryImpl - - - - - - - - - - - - - - -//W3C//DTD HTML 4.01 Transitional//EN - http://www.w3.org/TR/html4/loose.dtd - - - - - - source - -//APACHE//DTD Documentation V1.2//EN - document-v12.dtd - - - - - - ISO-8859-1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/src/documentation/skinconf.xml b/src/documentation/skinconf.xml index c9693f2..8f567a2 100644 --- a/src/documentation/skinconf.xml +++ b/src/documentation/skinconf.xml @@ -1,6 +1,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ]> - + - - false - - true - - false - - true - - false - - true + + - xml.apache.org - Apache XML + + true + + false + + true + + true + + + true + + + true + + + false + + + true + .at. + + + true + default skin: renders it at the top --> xml-commons Apache XML Commons http://xml.apache.org/commons/ images/project-logo.gif + default skin: renders it at the top-left corner --> Apache XML Apache XML http://xml.apache.org/ images/group-logo.gif + default skin: renders it at the bottom-left corner --> + + + 2003 The Apache Software Foundation. + + http://www.apache.org/licenses/ - @@ -119,24 +111,230 @@ be used to configure the chosen Forrest skin. - - + - + + + + + + + + + + + + p.quote { + margin-left: 2em; + padding: .5em; + background-color: #f0f0f0; + font-family: monospace; + } + + #footer a { color: #0F3660; } + #footer a:visited { color: #009999; } + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Page 1 + + + + 1cm + 1cm + 2cm + 1.5cm + + + + false + + + false + + + Built with Apache Forrest - http://xml.apache.org/forrest/ + http://forrest.apache.org/ images/built-with-forrest-button.png 88 31 - + +