Author: thorsten Date: Fri Sep 12 16:23:21 2008 New Revision: 694844 URL: http://svn.apache.org/viewvc?rev=694844&view=rev Log: FOR-1105 Make locationmap more intuitive configurable Using lm:themer.project.dir (a configurable location) which for default point to {properties:home}/themes instead the direct path to the same locattion. Contributed by: Pablo Barrera
Modified: forrest/branches/update_cocoon_2.1.12-dev/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml Modified: forrest/branches/update_cocoon_2.1.12-dev/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml URL: http://svn.apache.org/viewvc/forrest/branches/update_cocoon_2.1.12-dev/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml?rev=694844&r1=694843&r2=694844&view=diff ============================================================================== --- forrest/branches/update_cocoon_2.1.12-dev/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml (original) +++ forrest/branches/update_cocoon_2.1.12-dev/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml Fri Sep 12 16:23:21 2008 @@ -239,10 +239,10 @@ <match pattern="resolve.panels.**"> <select type="exists"> <location - src="{properties:resources}/themes/{properties:dispatcher.theme}/panels/{1}{properties:dispatcher.panel-ext}" + src="{lm:themer.project.dir}/{properties:dispatcher.theme}/panels/{1}{properties:dispatcher.panel-ext}" /> <location - src="{properties:resources}/themes/{properties:dispatcher.fallback.theme}/panels/{1}{properties:dispatcher.panel-ext}" + src="{lm:themer.project.dir}/{properties:dispatcher.fallback.theme}/panels/{1}{properties:dispatcher.panel-ext}" /> <!-- plugin provided panels --> <location src="{lm:resolvePluginPanels.{1}}" />