forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r442241 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher: locationmap.xml src/documentation/content/xdocs/how/howto-dispatcher-quickstart.xml
Date Mon, 11 Sep 2006 15:42:19 GMT
Author: thorsten
Date: Mon Sep 11 08:42:18 2006
New Revision: 442241

URL: http://svn.apache.org/viewvc?view=rev&rev=442241
Log:
adding the
match themer.project.dir to the dispatcher locationmap.xml. Updating quickstart document to
{lm:themer.project.dir} needs to point to the location where you
store the themes in your project.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-quickstart.xml

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?view=diff&rev=442241&r1=442240&r2=442241
==============================================================================
--- 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
Mon Sep 11 08:42:18 2006
@@ -113,6 +113,10 @@
         </selectors>
     </components>
     <locator>
+        <!-- Base location of the project themes-->
+        <match pattern="themer.project.dir">
+          <location src="{properties:resources}/themes" />
+        </match> 
         <!-- Base location of the builded dispatcher plugin-->
         <match pattern="dispatcher.home">
           <location src="{properties:forrest.plugins}/{properties:dispatcher.home}" />

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-quickstart.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-quickstart.xml?view=diff&rev=442241&r1=442240&r2=442241
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-quickstart.xml
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/src/documentation/content/xdocs/how/howto-dispatcher-quickstart.xml
Mon Sep 11 08:42:18 2006
@@ -107,10 +107,16 @@
         default structurers to the Forrest projects. That eases your local
         version management and everyone will benefit.
       </note>
+      <note>
+        We use <code>${themer.project.dir}</code> for PROJECT_HOME/src/documentation/resources/themes
+        (create the new directory folder first).
+        You can change this location by adding <![CDATA[<match pattern="themer.project.dir">
+          <location src="{properties:resources}/themes" />
+        </match> ]]> to your locationmap and point to another directory.
+      </note>
       <ul>
         <li>Copy THEMER_PLUGIN/themes/pelt.fv into your project at
-          PROJECT_HOME/src/documentation/resources/themes/pelt.fv
-          (create the new directory folder first).
+          ${themer.project.dir}/pelt.fv
         </li>
         <li>Re-start 'forrest run'</li>
         <li>localhost:8888/index.html ... See the same view, now structured
@@ -170,11 +176,11 @@
       <p>
         Project-based contracts are defined in theme-specific and
         output-format-specific directory structure, e.g.
-        PROJECT_HOME/src/documentation/resources/themes/THEME_NAME/OUTPUT_FORMAT/
+        ${themer.project.dir}/THEME_NAME/OUTPUT_FORMAT/
       </p>
       <p>
        Project-based contracts common to all themes go in
-        PROJECT_HOME/src/documentation/resources/themes/common/OUTPUT_FORMAT/
+        ${themer.project.dir}/common/OUTPUT_FORMAT/
       </p>
       <p>
         To get started quickly (it is not a project-based contract but a demo),
@@ -184,7 +190,7 @@
         <li>
           Copy THEMER_PLUGIN/themes/common/html/siteinfo-current-time.ft
           into your project at
-          PROJECT_HOME/src/documentation/resources/themes/common/html/siteinfo-doodad.ft
+          ${themer.project.dir}/common/html/siteinfo-doodad.ft
           (create the new directory folders first).
         </li>
         <li>



Mime
View raw message