diff options
author | Keiron Liddle <keiron@apache.org> | 2001-05-17 07:48:06 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2001-05-17 07:48:06 +0000 |
commit | c824ede99cb449252823876b6224f6ed75e799cd (patch) | |
tree | 771770e0d8604c5511de0249b4072817fc483736 /build.xml | |
parent | f89f05c27124377ec9497b30d4d75874a2bec67b (diff) | |
download | xmlgraphics-fop-c824ede99cb449252823876b6224f6ed75e799cd.tar.gz xmlgraphics-fop-c824ede99cb449252823876b6224f6ed75e799cd.zip |
FOP now uses Batik to render svg
This is handled for awt - using batik to render to a graphic
and pdf.
Pdf still requires better image support.
The elements and properties are generated from the svgelements.xml
document.
The version of batik is 17/05/2001 cvs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194250 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -205,6 +205,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <property name="properties.dir" value="org/apache/fop/fo/properties"/> <property name="fonts.dir" value="org/apache/fop/render/pdf/fonts"/> + <property name="svg.dir" value="org/apache/fop/svg"/> <property name="replacestring" value="org/apache/fop"/> <property name="ignore_this" value="ignore_this.java"/> <property name="jimi" value="JimiImage.java"/> @@ -220,12 +221,16 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <property name="xslt" value="org.apache.xalan.xslt.Process"/> <property name="src.properties.xsl" value="${src.codegen}/properties.xsl"/> + <property name="src.propmaker.xsl" value="${src.codegen}/propmaker.xsl"/> <property name="foproperties.xml" value="${build.codegen}/foproperties.xml"/> <property name="colorkw.xml" value="${build.codegen}/colorkw.xml"/> <property name="svgproperties.xml" value="${build.codegen}/svgproperties.xml"/> <property name="extproperties.xml" value="${build.codegen}/extproperties.xml"/> <property name="allprops.xml" value="${build.codegen}/allprops.xml"/> + <property name="svgelements.xml" value="${build.codegen}/svgelements.xml"/> + <property name="elements.xsl" value="${build.codegen}/elements.xsl"/> + <property name="properties.xsl" value="${build.codegen}/properties.xsl"/> <property name="propmap.xsl" value="${build.codegen}/propmap.xsl"/> <property name="enumgen.xsl" value="${build.codegen}/enumgen.xsl"/> @@ -334,6 +339,7 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <mkdir dir="${build.src}"/> <mkdir dir="${build.src}/${properties.dir}"/> <mkdir dir="${build.src}/${fonts.dir}"/> + <mkdir dir="${build.src}/${svg.dir}"/> <mkdir dir="${build.dest}/conf"/> <mkdir dir="${build.dest}/hyph"/> <copy todir="${build.dest}/conf" filtering="yes"> @@ -424,6 +430,10 @@ Sometimes ant gives out this warnings, but the build is finished without any pro <!-- generate the java files from xml resources --> <echo message="Generating the java files from xml resources"/> + <xslt infile="${svgelements.xml}" xsltfile="${src.propmaker.xsl}" + dependent="${propinc.xsl}" + outfile="${svgproperties.xml}" smart="yes"/> + <xslt infile="${allprops.xml}" xsltfile="${genconst.xsl}" dependent="${foproperties.xml},${svgproperties.xml},${extproperties.xml},${colorkw.xml}" outfile="${build.src}/${replacestring}/fo/properties/Constants.java" smart="yes"/> @@ -438,7 +448,6 @@ Sometimes ant gives out this warnings, but the build is finished without any pro dependent="${propinc.xsl}" outfile="${build.src}/${replacestring}/fo/properties/foenums_${ignore_this}" smart="yes"/> - <xslt infile="${svgproperties.xml}" xsltfile="${properties.xsl}" dependent="${propinc.xsl}" outfile="${build.src}/${replacestring}/fo/properties/svg_${ignore_this}" smart="yes"/> @@ -460,6 +469,9 @@ Sometimes ant gives out this warnings, but the build is finished without any pro outfile="${build.src}/${replacestring}/fo/properties/extenums_${ignore_this}" smart="yes"/> + <xslt infile="${svgelements.xml}" xsltfile="${elements.xsl}" + outfile="${build.src}/${replacestring}/svg/ele_${ignore_this}" smart="yes"/> + <xslt infile="${charlist.xml}" xsltfile="${charlist.xsl}" outfile="${build.src}/${replacestring}/render/pdf/CodePointMapping.java" smart="yes"/> |