aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xml-docs/build.xml
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-09-24 08:51:17 +0000
committerKeiron Liddle <keiron@apache.org>2001-09-24 08:51:17 +0000
commit5a9662ed5c350df04d0089c0b9fbba5354b4c772 (patch)
tree81340f4c4ca8845daf0808fb7198a808dffd2e1a /docs/xml-docs/build.xml
parentc035335895585f1aceb6ce01d05659d954c658b9 (diff)
downloadxmlgraphics-fop-5a9662ed5c350df04d0089c0b9fbba5354b4c772.tar.gz
xmlgraphics-fop-5a9662ed5c350df04d0089c0b9fbba5354b4c772.zip
this patch alters the fop ant task so that other render output
formats are supported output type can be specified by mime type and also handles file sets Submitted by: Jeremias Maerki <jeremias.maerki@outline.ch> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194479 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/xml-docs/build.xml')
-rw-r--r--docs/xml-docs/build.xml96
1 files changed, 39 insertions, 57 deletions
diff --git a/docs/xml-docs/build.xml b/docs/xml-docs/build.xml
index b66a9310f..a5baec012 100644
--- a/docs/xml-docs/build.xml
+++ b/docs/xml-docs/build.xml
@@ -1,5 +1,4 @@
<?xml version="1.0"?>
-
<!-- ===========================================================================
@@ -12,62 +11,45 @@ These are the meaningful targets for this build file:
- clean -> deletes all files produced by this script
-->
-
-
<project default="pdf" basedir=".">
-
- <!-- =================================================================== -->
- <!-- Initialization target -->
- <!-- =================================================================== -->
- <target name="init">
- <tstamp/>
-
- <property name="src.dir" value="./fop"/>
- <property name="allfiles.xml" value="fop-doc.xml"/>
- <property name="outfile.fo" value="fop.fo"/>
- <property name="outfile.pdf" value="fop.pdf"/>
-
- <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"/>
- <taskdef name="xslt" classname="org.apache.fop.tools.anttasks.Xslt"/>
-
- </target>
-
- <!-- =================================================================== -->
- <!-- copies all xml files into one. the infile is a dummy, because the -->
- <!-- source files are defined in the stylesheet -->
- <!-- =================================================================== -->
- <target name="prepare-files" depends="init">
- <xslt infile="fop.xml" xsltfile="xml2xml.xsl"
- outfile="${allfiles.xml}" smart="yes"/>
- </target>
-
- <!-- =================================================================== -->
- <!-- Generates the fo file -->
- <!-- =================================================================== -->
- <target name="fo" depends="prepare-files">
- <xslt infile="${allfiles.xml}" xsltfile="xml2pdf.xsl"
- outfile="${outfile.fo}" smart="yes"/>
- </target>
-
-
- <!-- =================================================================== -->
- <!-- Generates the pdf file -->
- <!-- =================================================================== -->
- <target name="pdf" depends="fo">
- <fop fofile="${outfile.fo}" pdffile="${outfile.pdf}"/>
- </target>
-
-
-
- <!-- =================================================================== -->
- <!-- Clean targets -->
- <!-- =================================================================== -->
- <target name="clean">
- <delete file="${allfiles.xml}"/>
- <delete file="${outfile.fo}"/>
- <delete file="${outfile.pdf}"/>
- </target>
-
+ <!-- =================================================================== -->
+ <!-- Initialization target -->
+ <!-- =================================================================== -->
+ <target name="init">
+ <tstamp/>
+ <property name="src.dir" value="./fop"/>
+ <property name="allfiles.xml" value="fop-doc.xml"/>
+ <property name="outfile.fo" value="fop.fo"/>
+ <property name="outfile.pdf" value="fop.pdf"/>
+ <taskdef name="fop" classname="org.apache.fop.tools.anttasks.Fop"/>
+ <taskdef name="xslt" classname="org.apache.fop.tools.anttasks.Xslt"/>
+ </target>
+ <!-- =================================================================== -->
+ <!-- copies all xml files into one. the infile is a dummy, because the -->
+ <!-- source files are defined in the stylesheet -->
+ <!-- =================================================================== -->
+ <target name="prepare-files" depends="init">
+ <xslt infile="fop.xml" xsltfile="xml2xml.xsl" outfile="${allfiles.xml}" smart="yes"/>
+ </target>
+ <!-- =================================================================== -->
+ <!-- Generates the fo file -->
+ <!-- =================================================================== -->
+ <target name="fo" depends="prepare-files">
+ <xslt infile="${allfiles.xml}" xsltfile="xml2pdf.xsl" outfile="${outfile.fo}" smart="yes"/>
+ </target>
+ <!-- =================================================================== -->
+ <!-- Generates the pdf file -->
+ <!-- =================================================================== -->
+ <target name="pdf" depends="fo">
+ <fop fofile="${outfile.fo}" outfile="${outfile.pdf}"/>
+ </target>
+ <!-- =================================================================== -->
+ <!-- Clean targets -->
+ <!-- =================================================================== -->
+ <target name="clean">
+ <delete file="${allfiles.xml}"/>
+ <delete file="${outfile.fo}"/>
+ <delete file="${outfile.pdf}"/>
+ </target>
</project>
-
<!-- End of file -->