You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by cr...@apache.org on 2005/10/14 03:55:41 UTC
svn commit: r320968 - in /forrest/trunk/site-author/content/xdocs:
docs_0_80/howto/howto-view-contracts.xml docs_0_80/howto/howto-view-dsl.xml
docs_0_80/howto/howto-view-install.xml docs_0_80/views.xml site.xml
Author: crossley
Date: Thu Oct 13 18:55:35 2005
New Revision: 320968
URL: http://svn.apache.org/viewcvs?rev=320968&view=rev
Log:
Refer to the new docs about "dispatcher/structurer"
and keep some old docs about "views" for a little while longer.
Modified:
forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-contracts.xml
forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-dsl.xml
forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-install.xml
forrest/trunk/site-author/content/xdocs/docs_0_80/views.xml
forrest/trunk/site-author/content/xdocs/site.xml
Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-contracts.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-contracts.xml?rev=320968&r1=320967&r2=320968&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-contracts.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-contracts.xml Thu Oct 13 18:55:35 2005
@@ -19,7 +19,7 @@
<howto>
<header>
- <title>How to write a forrest:contract?</title>
+ <title>How to write a forrest:contract? (deprecated)</title>
<abstract>
This How-To will explain how we wrote the contracts for views and hope afterwards you will be able to do the same.
</abstract>
@@ -32,6 +32,12 @@
"Views" are new functionality which is still in development phase. That is why it is in the
"whiteboard" section of the Forrest distribution.
This HowTo is a good start but still needs more work.
+</warning>
+
+<warning>
+This document relates to an early development version of "views".
+Please use the current development instead. Start at
+<a href="site:howto/dispatcher/install">howto-structurer-install</a>.
</warning>
<p>
Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-dsl.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-dsl.xml?rev=320968&r1=320967&r2=320968&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-dsl.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-dsl.xml Thu Oct 13 18:55:35 2005
@@ -19,7 +19,7 @@
<howto>
<header>
- <title>How to use the forrest:view config-DSL</title>
+ <title>How to use the forrest:view config-DSL (deprecated)</title>
<abstract>
This How-To describes the usage of the forrest:view config Domain Specific Language
to create beautiful websites in no time.
@@ -33,6 +33,12 @@
"Views" are new functionality which is still in development phase. That is why it is in the
"whiteboard" section of the Forrest distribution.
This HowTo is far from being finished.
+</warning>
+
+<warning>
+This document relates to an early development version of "views".
+Please use the current development instead. Start at
+<a href="site:howto/dispatcher/install">howto-structurer-install</a>.
</warning>
<p>
Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-install.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-install.xml?rev=320968&r1=320967&r2=320968&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-install.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-install.xml Thu Oct 13 18:55:35 2005
@@ -19,7 +19,7 @@
<howto>
<header>
- <title>How to install the views</title>
+ <title>How to install the views (deprecated)</title>
<abstract>
This How-To describes the setup of the plugins (needed to work with forrest:views and forrest:contracts) and a fresh seed site.
</abstract>
@@ -31,11 +31,16 @@
<warning>
"Views" are new functionality which is still in development phase. That is why it is in the
"whiteboard" section of the Forrest distribution.
-This HowTo is a good start but still needs more work.
+</warning>
+
+<warning>
+This document relates to an early development version of "views".
+Please use the current development instead. Start at
+<a href="site:howto/dispatcher/install">howto-structurer-install</a>.
</warning>
<p>
- Developers who want to get started with view development.
+ Developers who are using the old version of "views" development.
</p>
</audience>
@@ -54,7 +59,7 @@
<warning>
Need a recent version of SVN trunk. If you had a working site using the old
views development in trunk, and don't want to use the new views plugins,
-then use r292708 (see
+then use at least version r292708 (see
<a href="http://marc.theaimsgroup.com/?l=forrest-dev&m=112839617103846">mail</a>).
</warning>
</prerequisites>
@@ -67,33 +72,23 @@
<section id="localBuild">
<title>Build the internal.structurer and the output.themes plugins</title>
<p>
- The first step is to build and deploy the internal.structurer and the output.themes plugins. Change to a terminal window of your choice
+ Build and deploy the two old "views" plugins.
+ Change to a terminal window of your choice
and go (cd) to the trunk version of forrest {forrest-trunk}. Then do an SVN update and after this
deploy both plugins locally.
</p>
<source>
cd {forrest-trunk}
svn up
-cd whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/
+cd whiteboard/plugins/org.apache.forrest.plugin.internal.view/
ant local-deploy
-cd ../org.apache.forrest.plugin.output.themes/
+cd ../org.apache.forrest.plugin.output.viewHelper.xhtml/
ant local-deploy
</source>
<p>
Alternatively, run the script <code>etc/views.sh</code>
</p>
</section>
- <section id="jxpath">
- <title>Upgrade the JXPath library</title>
- <p>
- Replace lib/core/commons-jxpath-20030909.jar with commons-jxpath-1.2.jar
- </p>
-<note>
-That will introduce Issue
-<a href="http://issues.apache.org/jira/browse/FOR-675">FOR-675</a>
-- please help to fix it.
-</note>
- </section>
<section id="newSeed">
<title>Seed a new project</title>
<p>
@@ -111,7 +106,7 @@
forrest.properties to add the required plugins:
</p>
<source>
-project.required.plugins=org.apache.forrest.plugin.output.themes,org.apache.forrest.plugin.internal.structurer
+project.required.plugins=org.apache.forrest.plugin.output.viewHelper.xhtml,org.apache.forrest.plugin.internal.view
</source>
<p>
Change the project skin to leather-dev. The reason is that the plugins are still
Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/views.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/docs_0_80/views.xml?rev=320968&r1=320967&r2=320968&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/docs_0_80/views.xml (original)
+++ forrest/trunk/site-author/content/xdocs/docs_0_80/views.xml Thu Oct 13 18:55:35 2005
@@ -80,7 +80,7 @@
</p>
<p>
See the various How-to documents about views, starting with
- <a href="site:v0.80//howto/view/install">installing views</a>.
+ <a href="site:v0.80//howto/dispatcher/install">installing views</a>.
</p>
</section>
</body>
Modified: forrest/trunk/site-author/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/site-author/content/xdocs/site.xml?rev=320968&r1=320967&r2=320968&view=diff
==============================================================================
--- forrest/trunk/site-author/content/xdocs/site.xml (original)
+++ forrest/trunk/site-author/content/xdocs/site.xml Thu Oct 13 18:55:35 2005
@@ -249,10 +249,15 @@
<step2 label="Step 2" href="step2.html"/>
<step3 label="Step 3" href="step3.html"/>
</multi>
- <view label="Views">
+ <dispatcher label="Dispatcher">
+ <install label="Install" href="howto-structurer-install.html"/>
+ <DSL label="forrest:view DSL" href="howto-structurer-dsl.html"/>
+ <contracts label="Contract implementations" href="howto-structurer-contracts.html"/>
+ </dispatcher>
+ <view label="Old Views (deprecated)">
<install label="Install views" href="howto-view-install.html"/>
<DSL label="forrest:view DSL" href="howto-view-dsl.html"/>
- <contracts label="contract implementations" href="howto-view-contracts.html"/>
+ <contracts label="Contract implementations" href="howto-view-contracts.html"/>
</view>
</howto>