You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ev...@apache.org on 2004/01/21 14:14:50 UTC
cvs commit: maven-plugins/pdf plugin.jelly
evenisse 2004/01/21 05:14:50
Modified: pdf plugin.jelly
Log:
Add images to pdf.
Revision Changes Path
1.9 +11 -2 maven-plugins/pdf/plugin.jelly
Index: plugin.jelly
===================================================================
RCS file: /home/cvs/maven-plugins/pdf/plugin.jelly,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- plugin.jelly 21 Jan 2004 09:14:44 -0000 1.8
+++ plugin.jelly 21 Jan 2004 13:14:50 -0000 1.9
@@ -2,6 +2,7 @@
<project xmlns:j="jelly:core">
<goal name="pdf:init" prereqs="xdoc:init">
<j:set var="docsXdocSrc" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.src')}"/>
+ <j:set var="docsDest" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>
<j:set var="docsGenSrc" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
<j:set var="docsPdf" value="${maven.build.dir}/pdf"/>
<j:set var="docsToc" value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.src')}/${pom.getPluginContext('maven-pdf-plugin').getVariable('maven.pdf.navigationFile')}"/>
@@ -55,12 +56,20 @@
<include name="**/*.*"/>
</fileset>
</copy>
- <!-- Then, copy all of the user-supplied xdocs -->
+ <!-- Copy all of the user-supplied xdocs -->
<copy todir="${docsPdf}" force="true">
<fileset dir="${docsXdocSrc}">
<include name="**/*.*"/>
</fileset>
</copy>
+ <!-- Then, copy all of images generated -->
+ <copy todir="${docsPdf}" force="true">
+ <fileset dir="${docsDest}">
+ <include name="**/*.gif"/>
+ <include name="**/*.jpg"/>
+ <include name="**/*.png"/>
+ </fileset>
+ </copy>
<!-- Finally, copy the FOP config file and all of the fonts -->
<copy todir="${docsPdf}" force="true">
<fileset dir="${plugin.resources}">
@@ -82,7 +91,7 @@
</classpath>
<arg value="-c"/>
<arg value="${docsPdf}/userconfig.xml"/>
- <j:if test="${debug}"><arg value="-d"/></j:if>
+ <arg value="-d"/>
<arg value="-fo"/>
<arg value="${docsPdf}/project.fo"/>
<arg value="-pdf"/>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org