Author: rgardler
Date: Sun Oct 23 04:59:04 2005
New Revision: 327784
URL: http://svn.apache.org/viewcvs?rev=327784&view=rev
Log:
add locationmap workaround to handle different url space used in site-dev
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/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/input.xmap?rev=327784&r1=327783&r2=327784&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
Sun Oct 23 04:59:04 2005
@@ -127,7 +127,7 @@
</map:match>
<!-- Create an HTML page listing all projects using the indicated
language -->
- <map:match pattern="projectDetails/*_lang.xml">
+ <map:match pattern="projectDetails/*-lang.xml">
<map:generate type="file"
src="cocoon:/projectDetails/descriptorIndex.xml" />
<map:transform
src="{lm:projectInfo.transform.descriptorIndex.langIndex}">
<map:parameter name="language" value="{1}"/>
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml
URL:
http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.input.projectInfo/locationmap.xml?rev=327784&r1=327783&r2=327784&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
Sun Oct 23 04:59:04 2005
@@ -39,6 +39,23 @@
<match pattern="projectInfo.transform.*.*">
<location src="resources/stylesheets/{1}-to-{2}.xsl"/>
- </match>
+ </match>
+
+ <!-- ========================================= -->
+ <!-- Site-dev integration workarounds -->
+ <!-- Currently we are working with people in
+ site-dev community to create the
+ stylesheets for use here. This requries
+ the following workarounds. If Forrest is
+ adopted for the site-dev initiative we can
+ modify the stylesheets directly, otherwise
+ these workarounds (or similar) will be
+ required -->
+ <!-- ========================================= -->
+
+ <match pattern="*_lang.xml">
+ <location src="cocoon://projectDetails/{1}-lang.xml"/>
+ </match>
+
</locator>
</locationmap>