forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r662115 - in /forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo: input.xmap locationmap.xml
Date Sun, 01 Jun 2008 00:50:55 GMT
Author: rgardler
Date: Sat May 31 17:50:55 2008
New Revision: 662115

URL: http://svn.apache.org/viewvc?rev=662115&view=rev
Log:
Allow a prefix directory on use cases so that they are correctly rendered in sites consisting
of multiple subsites

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
    forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap?rev=662115&r1=662114&r2=662115&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap Sat May 31
17:50:55 2008
@@ -111,6 +111,18 @@
         </map:transform>
         <map:serialize type="xml-document"/>
       </map:match>
+      <map:match pattern="**/docs/user/useCases/**.xml">
+        <map:generate src="cocoon:/docs/user/useCases/{1}.{2}.source.xml" />
+        <map:transform src="{lm:projectInfo.transform.useCase.document}">
+          <map:parameter name="includeImplementationNotes" value="false"/>
+        </map:transform>
+        <map:serialize type="xml-document"/>
+      </map:match>
+      <map:match pattern="**/docs/developer/useCases/**.xml">
+        <map:generate src="cocoon:/docs/developer/useCases/{1}.{2}.source.xml" />
+        <map:transform src="{lm:projectInfo.transform.useCase.document}"/>
+        <map:serialize type="xml-document"/>
+      </map:match>
       <map:match pattern="docs/developer/useCases/**.xml">
         <map:generate src="cocoon:/docs/developer/useCases/{1}.source.xml" />
         <map:transform src="{lm:projectInfo.transform.useCase.document}"/>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml?rev=662115&r1=662114&r2=662115&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml Sat
May 31 17:50:55 2008
@@ -32,9 +32,6 @@
     <match pattern="project.status">
       <location src="{properties:status}" />
     </match>
-    <match pattern="project.useCases.dir">
-      <location src="{properties:content}/useCases" />
-    </match>
     <match pattern="project.useCases.**">
       <location src="{properties:content}/useCases/{1}.xml" />
     </match>



Mime
View raw message