forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r413546 - in /forrest/trunk/main/webapp: locationmap.xml resources.xmap
Date Sun, 11 Jun 2006 23:17:04 GMT
Author: rgardler
Date: Sun Jun 11 16:17:04 2006
New Revision: 413546

URL: http://svn.apache.org/viewvc?rev=413546&view=rev
Log:
use locationmap to resolve js files

Modified:
    forrest/trunk/main/webapp/locationmap.xml
    forrest/trunk/main/webapp/resources.xmap

Modified: forrest/trunk/main/webapp/locationmap.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/locationmap.xml?rev=413546&r1=413545&r2=413546&view=diff
==============================================================================
--- forrest/trunk/main/webapp/locationmap.xml (original)
+++ forrest/trunk/main/webapp/locationmap.xml Sun Jun 11 16:17:04 2006
@@ -111,6 +111,10 @@
       </select>
     </match>
     
+    <match pattern="project.js.**">
+      <location src="resources/scripts/{1}.js" />
+    </match>
+    
     <match pattern="project.xml.site">
       <location src="{project:content.xdocs}site.xml" />
     </match>

Modified: forrest/trunk/main/webapp/resources.xmap
URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources.xmap?rev=413546&r1=413545&r2=413546&view=diff
==============================================================================
--- forrest/trunk/main/webapp/resources.xmap (original)
+++ forrest/trunk/main/webapp/resources.xmap Sun Jun 11 16:17:04 2006
@@ -151,7 +151,7 @@
 
       <!-- @deprecated -->
       <map:match pattern="**.js">
-        <map:read src="resources/scripts/{1}.js" mime-type="application/x-javascript"
/>
+        <map:read src="{lm:project.js.{1}}" mime-type="application/x-javascript" />
       </map:match>
 
       <map:match pattern="**skin/**.css">



Mime
View raw message