Author: thorsten
Date: Mon Oct 31 01:20:59 2005
New Revision: 329781
URL: http://svn.apache.org/viewcvs?rev=329781&view=rev
Log:
Fixed the calling of project specific contracts
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/themer.xmap
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/themer.xmap
URL:
http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/themer.xmap?rev=329781&r1=329780&r2=329781&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/themer.xmap
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.structurer/themer.xmap
Mon Oct 31 01:20:59 2005
@@ -39,6 +39,12 @@
<map:serializers default="xml" />
</map:components>
<map:pipelines>
+ <map:pipeline>
+ <map:match pattern="resolve.contract.*.**">
+ <map:generate src="{lm:resolve.contract.{1}.{2}}" />
+ <map:serialize />
+ </map:match>
+ </map:pipeline>
<!-- prepare the xsl:templates of the requested contract.
{1} format to deliver
{2} contract name -->
@@ -111,7 +117,7 @@
</map:transform>
<map:serialize />
</map:match>
- <map:match pattern="ls.contract-*.project.xml">
+ <map:match pattern="ls.contract.project-*.xml">
<map:generate src="{lm:ls.contracts.project}" />
<map:transform src="{lm:ls.contracts-to-document.xsl}">
<map:parameter name="requestedContract" value="{1}" />
@@ -126,7 +132,7 @@
</map:transform>
<map:serialize />
</map:match>
- <map:match pattern="less.contract-*.xml">
+ <map:match pattern="less.contract.project-*.xml">
<map:generate src="{lm:ls.contracts.project}" />
<map:transform src="{lm:ls.contracts-to-document.xsl}">
<map:parameter name="requestedContract" value="{1}" />