forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r355558 - /forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/output.xmap
Date Fri, 09 Dec 2005 18:05:18 GMT
Author: rgardler
Date: Fri Dec  9 10:05:12 2005
New Revision: 355558

URL: http://svn.apache.org/viewcvs?rev=355558&view=rev
Log:
use the locationmap to resolve resources

Modified:
    forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/output.xmap

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/output.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/output.xmap?rev=355558&r1=355557&r2=355558&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/output.xmap (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/output.xmap Fri Dec  9 10:05:12
2005
@@ -28,11 +28,11 @@
       <!-- generate .pdf files from .fo -->
       <map:match type="regexp" pattern="^(.*?)([^/]*).pdf$">
         <map:select type="exists">
-          <map:when test="{project:content.xdocs}/{1}{2}.pdf">
-            <map:read src="{project:content.xdocs}/{1}{2}.pdf"/>
+          <map:when test="{lm:project.{1}{2}.pdf}">
+            <map:read src="{lm:project.{1}{2}.pdf}"/>
           </map:when>
-          <map:when test="{project:content.xdocs}/{1}{2}.fo">
-            <map:generate src="{project:content.xdocs}/{1}{2}.fo"/>
+          <map:when test="{lm:project.{1}{2}.fo}">
+            <map:generate src="{lm:project.{1}{2}.fo}"/>
             <map:serialize type="fo2pdf"/>
           </map:when>
           <map:otherwise>



Mime
View raw message