dion        2003/02/23 04:51:19

  Modified:    src/plugins-build/pdf plugin.jelly
  Log:
  Fix parameters that were URL but broken under windows
  
  Revision  Changes    Path
  1.4       +5 -3      jakarta-turbine-maven/src/plugins-build/pdf/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-maven/src/plugins-build/pdf/plugin.jelly,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- plugin.jelly      6 Feb 2003 13:10:29 -0000       1.3
  +++ plugin.jelly      23 Feb 2003 12:51:19 -0000      1.4
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   
  -<project xmlns:j="jelly:core">
  +<project xmlns:j="jelly:core" xmlns:u="jelly:util">
   
     <goal 
       name="pdf:init"
  @@ -27,6 +27,8 @@
         property="maven.fo.navigation.available"/>
       <fail message="PDF generation cannot complete as ${docsSrc}/navigation.xml is 
missing"
         unless="maven.fo.navigation.available"/>
  +    <u:file name="${plugin.resources}/project2fo.xslt" var="stylesheetFile" />
  +    <u:file name="${docsSrc}/navigation.xml" var="navigationFile" />
       <java classname="org.apache.xalan.xslt.Process" fork="yes" failonerror="true">
         <classpath>
           <pathelement location="${plugin.getDependencyPath('xerces')}"/>
  @@ -35,11 +37,11 @@
         </classpath>
         <sysproperty key="user.language" value="en"/>
         <arg value="-in"/>
  -      <arg value="file://${docsSrc}/navigation.xml"/>
  +      <arg value="${navigationFile.toURL().toExternalForm()}"/>
         <arg value="-out"/>
         <arg value="${docsDest}/project.fo"/>
         <arg value="-xsl"/>
  -      <arg value="file://${plugin.resources}/project2fo.xslt"/>
  +      <arg value="${stylesheetFile.toURL().toExternalForm()}"/>
         <arg value="-param"/>
         <arg value="basePath"/>
         <arg value="${docsSrc}"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to