You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/06/12 11:13:53 UTC

svn commit: r546433 - /lenya/trunk/src/webapp/lenya/lenya.xmap

Author: andreas
Date: Tue Jun 12 02:13:52 2007
New Revision: 546433

URL: http://svn.apache.org/viewvc?view=rev&rev=546433
Log:
[minor change] code formatting

Modified:
    lenya/trunk/src/webapp/lenya/lenya.xmap

Modified: lenya/trunk/src/webapp/lenya/lenya.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/webapp/lenya/lenya.xmap?view=diff&rev=546433&r1=546432&r2=546433
==============================================================================
--- lenya/trunk/src/webapp/lenya/lenya.xmap (original)
+++ lenya/trunk/src/webapp/lenya/lenya.xmap Tue Jun 12 02:13:52 2007
@@ -6,9 +6,9 @@
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
+  
+  http://www.apache.org/licenses/LICENSE-2.0
+  
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -43,11 +43,12 @@
       <map:serialize type="text" mime-type="text/css"/>
     </map:resource>
   </map:resources>
+  
   <map:pipelines>
-
+    
     <map:pipeline>
       <!-- Lenya Core -->
-
+      
       <!-- matches lenya/**.js -->
       <map:match pattern="**.js">
         <map:select type="resource-exists">
@@ -60,24 +61,24 @@
             <map:serialize type="text" mime-type="application/x-javascript"/>
           </map:when>
           <map:otherwise>
-        <map:read src="resources/{1}.js" mime-type="application/x-javascript" />
+            <map:read src="resources/{1}.js" mime-type="application/x-javascript" />
           </map:otherwise>
         </map:select>
       </map:match>
-
+      
       <map:match pattern="**.rng">
         <map:generate src="resources/{1}.rng"/>
         <map:transform src="xslt/resources/translate-rng-includes.xsl"/>
         <map:serialize type="xml"/>
       </map:match>
-
+      
       <map:match pattern="css/**.css">
         <map:call resource="proxy-css">
-           <map:parameter name="url" value="resources/css/{1}"/>
-         </map:call>
+          <map:parameter name="url" value="resources/css/{1}"/>
+        </map:call>
       </map:match>
     </map:pipeline>
-
+    
     <map:pipeline>
       <!-- enable client side caching of resources -->
       <map:parameter name="expires" value="access plus 2 hours"/>
@@ -86,22 +87,22 @@
       <map:match pattern="**.jpg">
         <map:read src="resources/{1}.jpg" mime-type="image/jpeg" />
       </map:match>
-
+      
       <!-- matches lenya/**.gif -->
       <map:match pattern="**.gif">
         <map:read src="resources/{1}.gif" mime-type="image/gif" />
       </map:match>
-
+      
       <!-- matches lenya/**.png -->
       <map:match pattern="**.png">
         <map:read src="resources/{1}.png" mime-type="image/png" />
       </map:match>
-
+      
       <!-- matches lenya/**.ext -->
       <map:match pattern="images/**.*">
         <map:read src="resources/images/{1}.{2}" mime-type="image/{2}" />
       </map:match>
     </map:pipeline>
-
+    
   </map:pipelines>
 </map:sitemap>



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org