forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r680994 - in /forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr: locationmap.xml output.xmap
Date Wed, 30 Jul 2008 12:12:02 GMT
Author: thorsten
Date: Wed Jul 30 05:12:01 2008
New Revision: 680994

URL: http://svn.apache.org/viewvc?rev=680994&view=rev
Log:
Exposing the solr resources via the locationmap to be able to override them in a project.

Modified:
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/locationmap.xml
    forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/output.xmap

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/locationmap.xml?rev=680994&r1=680993&r2=680994&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/locationmap.xml
(original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/locationmap.xml
Wed Jul 30 05:12:01 2008
@@ -28,6 +28,9 @@
     </selectors>
   </components>
   <locator>
+    <match pattern="solr.*">
+      <location src="resources/xml/{1}.xml"/>
+    </match>
     <match pattern="resolvePluginContract.*.**">
       <select type="exists">
         <location src="{forrest:forrest.plugins}/org.apache.forrest.plugin.output.solr/resources/themes/{properties:dispatcher.theme}/{1}/{2}.ft"
/>

Modified: forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/output.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/output.xmap?rev=680994&r1=680993&r2=680994&view=diff
==============================================================================
--- forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/output.xmap (original)
+++ forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.output.solr/output.xmap Wed
Jul 30 05:12:01 2008
@@ -43,7 +43,7 @@
       </map:match>
 <!-- Static solr commands -->
       <map:match pattern="solr.*">
-        <map:generate src="resources/xml/{1}.xml"/>
+        <map:generate src="lm://{0}"/>
         <map:serialize/>
       </map:match>
 <!-- Output the whole project as solr docs 



Mime
View raw message