Author: crossley Date: Mon Sep 15 07:52:22 2014 New Revision: 1624956 URL: http://svn.apache.org/r1624956 Log: Use locationmap for resolution of resources and files. FOR-726
Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap?rev=1624956&r1=1624955&r2=1624956&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/input.xmap Mon Sep 15 07:52:22 2014 @@ -29,7 +29,7 @@ <map:pipeline> <map:match pattern="cstatus.xml"> <map:generate type="status"/> - <map:transform src="resources/stylesheets/status-to-document.xsl"> + <map:transform src="{lm:serverStatus.transform.status.document}"> <map:parameter name="contextPath" value="{request:contextPath}"/> </map:transform> <map:serialize type="xml-document"/> Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml?rev=1624956&r1=1624955&r2=1624956&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/locationmap.xml Mon Sep 15 07:52:22 2014 @@ -27,5 +27,11 @@ src="org.apache.forrest.sourceexists.SourceExistsSelector" /> </selectors> </components> - <locator></locator> + <locator> + <match pattern="serverStatus.transform.*.*"> + <select> + <location src="resources/stylesheets/{1}-to-{2}.xsl"/> + </select> + </match> + </locator> </locationmap> Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml?rev=1624956&r1=1624955&r2=1624956&view=diff ============================================================================== --- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml (original) +++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.input.serverStatus/status.xml Mon Sep 15 07:52:22 2014 @@ -18,6 +18,7 @@ <status> <developers> <!-- Add new developers here --> + <person name="David Crossley" email="cross...@apache.org" id="DC" /> <person name="Volunteer needed" email="d...@forrest.apache.org" id="open"/> </developers> <!-- Define here the Title of the Context you want to display in the Changes pages. @@ -35,6 +36,10 @@ <changes> <!-- Add new releases here --> <release version="0.1" date="not-released"> + <action type="add" context="code" dev="DC" importance="high" fixes-bug="FOR-726"> + Use locationmap for resolution of resources and files. + Resources are exposed via {lm:serverStatus.*} + </action> <action dev="DC" type="add" context="admin"> Initial plugin code. </action>