evenisse    2004/01/25 21:54:29

  Modified:    pdf      plugin.jelly
  Log:
  From Arnaud Heritier :
  - Customize the debug flag for the FOP command from the plugin property 
�maven.pdf.debug� (unintentionally removed in the last commit)
  - From now when the pdf is generated, it is automatically copied into the 
${maven.docs.dest} directory.
  
  Revision  Changes    Path
  1.10      +5 -2      maven-plugins/pdf/plugin.jelly
  
  Index: plugin.jelly
  ===================================================================
  RCS file: /home/cvs/maven-plugins/pdf/plugin.jelly,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- plugin.jelly      21 Jan 2004 13:14:50 -0000      1.9
  +++ plugin.jelly      26 Jan 2004 05:54:29 -0000      1.10
  @@ -69,7 +69,7 @@
                   <include name="**/*.jpg"/>
                   <include name="**/*.png"/>
               </fileset>
  -        </copy>        
  +        </copy>
           <!-- Finally, copy the FOP config file and all of the fonts -->
           <copy todir="${docsPdf}" force="true">
               <fileset dir="${plugin.resources}">
  @@ -91,12 +91,15 @@
               </classpath>
               <arg value="-c"/>
               <arg value="${docsPdf}/userconfig.xml"/>
  -            <arg value="-d"/>
  +            <if test="${debug}">
  +                <arg value="-d"/>
  +            </if>
               <arg value="-fo"/>
               <arg value="${docsPdf}/project.fo"/>
               <arg value="-pdf"/>
               <arg value="${docsPdf}/project.pdf"/>
               <sysproperty key="javax.xml.transform.TransformerFactory" 
value="org.apache.xalan.processor.TransformerFactoryImpl"/>
           </java>
  +         <copy todir="${docsDest}" file="${docsPdf}/project.pdf"/>
       </goal>
   </project>
  
  
  

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

Reply via email to