diff options
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"/> |