Return-Path: Delivered-To: apmail-forrest-svn-archive@www.apache.org Received: (qmail 55791 invoked from network); 17 Jul 2005 06:58:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Jul 2005 06:58:38 -0000 Received: (qmail 57265 invoked by uid 500); 17 Jul 2005 06:58:38 -0000 Delivered-To: apmail-forrest-svn-archive@forrest.apache.org Received: (qmail 57203 invoked by uid 500); 17 Jul 2005 06:58:37 -0000 Mailing-List: contact svn-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Forrest Developers List" List-Id: Delivered-To: mailing list svn@forrest.apache.org Received: (qmail 57190 invoked by uid 99); 17 Jul 2005 06:58:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2005 23:58:37 -0700 X-ASF-Spam-Status: No, hits=-9.3 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 16 Jul 2005 23:58:34 -0700 Received: (qmail 55743 invoked by uid 65534); 17 Jul 2005 06:58:36 -0000 Message-ID: <20050717065836.55742.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r219373 - /forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-install.xml Date: Sun, 17 Jul 2005 06:58:35 -0000 To: svn@forrest.apache.org From: crossley@apache.org X-Mailer: svnmailer-1.0.2 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: crossley Date: Sat Jul 16 23:58:34 2005 New Revision: 219373 URL: http://svn.apache.org/viewcvs?rev=219373&view=rev Log: Prerequisite to read the buildPlugin howto and especially the part about using Forrest's own Ant. Other minor text tweaks and grammar stuff. Modified: forrest/trunk/site-author/content/xdocs/docs_0_80/howto/howto-view-install.xml 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=219373&r1=219372&r2=219373&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 Sat Jul 16 23:58:34 2005 @@ -23,7 +23,7 @@ This How-To describes the setup of the plugins (needed to work with forrest:views and forrest:contracts) and a fresh seed. - + @@ -31,7 +31,7 @@ "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 proof-reading. +This HowTo is a good start but still needs more work.

@@ -49,6 +49,8 @@

  • You have to use the trunk version of forrest for using views because it is in an early stage
  • +
  • Read How to Build a Plugin + especially the section about using Forrest's own Ant.
@@ -76,7 +78,7 @@
Seed a new project

- Go to the dir where you want to seed a new project and seed it. + Go to the directory where you want to seed a new project and seed it.

cd ~/src/newSeed @@ -86,18 +88,18 @@
Modifying forrest.properties

- Now we have to tell forrest that we are planing to use the view plugins. We will do that - by editing to the forrest.properties to add the plugins: + Now we have to tell forrest that we are planning to use the view plugins. We will do that + by editing the forrest.properties to add the plugins:

project.required.plugins=org.apache.forrest.plugin.output.viewHelper.xhtml,org.apache.forrest.plugin.internal.view

Now we have to change the project skin to leather-dev. The reason is that the plugins are still - not independend form the "old fashion skins". + not independent from the "old fashion skins".

- We exchanging only - site2xhtml.xsl of leather-dev skin by the plugins and some contracts are based + We are exchanging only + site2xhtml.xsl of leather-dev skin with the plugins, and some contracts are based on e.g. document2html.xsl output of leather-dev. project.skin=leather-dev @@ -106,21 +108,21 @@
Test your new view based project

- Now you have finished the preparation and the setup to finally try + Now you have finished the preparation and the setup to finally do

forrest run

then point to http://localhost:8888/ and you should see the default - view based skin.

- When developing styles with views 'forrest run' is the quickest -way. You will see you do not have to build your project to see the + view-based skin.

+ When developing styles with views, 'forrest run' is the quickest +way. You will see that you do not have to build your project to see the changes on your pages when working with *.fv.
Available contracts

- To start working with views you need to know which contracts you can use. + To start working with views, you need to know which contracts you can use. For this we will install another plugin org.apache.forrest.plugin.input.viewHelper.xhtml.ls. The setup is:

@@ -131,10 +133,10 @@ ant local-deploy

- The newly installed plugin will show the available contracts as html page. - First we have to tell forrest that we are planing to use the new plugin. We will do that + The newly installed plugin will show the available contracts as html pages. + First we have to tell forrest that we are planning to use the new plugin. We will do that by editing the forrest.properties of the newSeed - to add the plugin: + to add the plugin:

project.required.plugins=org.apache.forrest.plugin.input.viewHelper.xhtml.ls