diff options
author | Glen Mazza <gmazza@apache.org> | 2004-07-19 05:33:35 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-07-19 05:33:35 +0000 |
commit | af81f828c5b7a480bf9d0674bbfefb9a60524ac5 (patch) | |
tree | fe5043083a7ab19c6c5285c351ebd49b23d9a045 /examples/embedding/build.xml | |
parent | 74955dc126dccccf831748573270d111e5ca5923 (diff) | |
download | xmlgraphics-fop-af81f828c5b7a480bf9d0674bbfefb9a60524ac5.tar.gz xmlgraphics-fop-af81f828c5b7a480bf9d0674bbfefb9a60524ac5.zip |
1.) Driver constructor modified to require RenderType, and setter functions
for RenderType and FOUserAgent removed, to allow for better checking of
a valid Driver object at time of construction. (Also, will reduce need to
validate Driver object should it be a parameter to a method.)
2.) Added validity checking of renderType to FOTreeBuilder as well, in
effect decoupling Driver from FOTreeBuilder (the latter can work on its own
now.)
3.) Updated the various examples and the documentation to indicate the
new API.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197801 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/embedding/build.xml')
-rw-r--r-- | examples/embedding/build.xml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/examples/embedding/build.xml b/examples/embedding/build.xml index b5c90ae1f..ec382aceb 100644 --- a/examples/embedding/build.xml +++ b/examples/embedding/build.xml @@ -84,7 +84,16 @@ </classpath> </java> </target> - <target name="example2" depends="compile" description="Runs the XML to FO example"> + <target name="example2" depends="compile" description="Runs the FO to PDF example using a SAXParser"> + <echo message="Running the FO to PDF example using a SAXParser"/> + <java classname="${name}.ExampleFO2PDFUsingSAX" fork="yes"> + <classpath> + <path refid="project.class.path"/> + <pathelement location="${build.dest}"/> + </classpath> + </java> + </target> + <target name="example3" depends="compile" description="Runs the XML to FO example"> <echo message="Running the XML to FO example"/> <java classname="${name}.ExampleXML2FO" fork="yes"> <classpath> @@ -93,7 +102,7 @@ </classpath> </java> </target> - <target name="example3" depends="compile" description="Runs the XML to PDF example"> + <target name="example4" depends="compile" description="Runs the XML to PDF example"> <echo message="Running the XML to PDF example"/> <java classname="${name}.ExampleXML2PDF" fork="yes"> <classpath> @@ -102,7 +111,7 @@ </classpath> </java> </target> - <target name="example4" depends="compile" description="Runs the Object to XML example"> + <target name="example5" depends="compile" description="Runs the Object to XML example"> <echo message="Running the Object to XML example"/> <java classname="${name}.ExampleObj2XML" fork="yes"> <classpath> @@ -111,7 +120,7 @@ </classpath> </java> </target> - <target name="example5" depends="compile" description="Runs the Object to PDF example"> + <target name="example6" depends="compile" description="Runs the Object to PDF example"> <echo message="Running the Object to PDF example"/> <java classname="${name}.ExampleObj2PDF" fork="yes"> <classpath> @@ -120,7 +129,7 @@ </classpath> </java> </target> - <target name="example6" depends="compile" description="Runs the DOM to PDF example"> + <target name="example7" depends="compile" description="Runs the DOM to PDF example"> <echo message="Running the DOM to PDF example"/> <java classname="${name}.ExampleDOM2PDF" fork="yes"> <classpath> @@ -129,7 +138,7 @@ </classpath> </java> </target> - <target name="example7" depends="compile" description="Runs the SVG to PDF example"> + <target name="example8" depends="compile" description="Runs the SVG to PDF example"> <echo message="Running the SVG to PDF example"/> <java classname="${name}.ExampleSVG2PDF" fork="yes"> <classpath> @@ -138,15 +147,6 @@ </classpath> </java> </target> - <target name="example8" depends="compile" description="Runs the FO to PDF example using a SAXParser"> - <echo message="Running the FO to PDF example using a SAXParser"/> - <java classname="${name}.ExampleFO2PDFUsingSAX" fork="yes"> - <classpath> - <path refid="project.class.path"/> - <pathelement location="${build.dest}"/> - </classpath> - </java> - </target> <!-- =================================================================== --> <!-- Clean targets --> <!-- =================================================================== --> |