diff options
author | Finn Bock <bckfnn@apache.org> | 2004-01-22 09:06:05 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-01-22 09:06:05 +0000 |
commit | 3043327052acd10d4dd9b49776cbf48b583fad1c (patch) | |
tree | 8d3f199d2d72baf10bea2a88b6986d6bd3436743 /build.xml | |
parent | 2d5f0a5a20597f58a68ec29b16f8731043f77f27 (diff) | |
download | xmlgraphics-fop-3043327052acd10d4dd9b49776cbf48b583fad1c.tar.gz xmlgraphics-fop-3043327052acd10d4dd9b49776cbf48b583fad1c.zip |
Abandon codegenerated property makers and use bean-like makers instead.
- ShorthandParsers are made stateless.
- Makers for compound properties inherts from new CompoundPropertyMaker
class and overrides makeNewProperty.
- FOPropertyMapping is no longer generated but is handcoded.
- get() and findProperty() methods are moved from PropertyList to the
property makers.
PR: 25873
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build.xml')
-rw-r--r-- | build.xml | 20 |
1 files changed, 1 insertions, 19 deletions
@@ -205,10 +205,7 @@ list of possible build targets. <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="properties.xsl" value="${build.codegen}/properties.xsl"/> <property name="propinc.xsl" value="${build.codegen}/propinc.xsl"/> <property name="src.charlist.xsl" value="${src.codegen}/code-point-mapping.xsl"/> <property name="encodings.xml" value="${build.codegen}/encodings.xml"/> @@ -341,22 +338,7 @@ list of possible build targets. <!-- generate the java files from xml resources --> <echo message="Generating the java files from xml resources"/> - <dependset> - <srcfilelist dir="${basedir}" files="${foproperties.xml},${colorkw.xml}"/> - <targetfilelist dir="${basedir}" files="${build.gensrc}/${replacestring}/fo/properties/Constants.java,${build.gensrc}/${replacestring}/fo/properties/fo_${ignore_this}"/> - </dependset> - <dependset> - <srcfilelist dir="${basedir}" files="${propinc.xsl}"/> - <targetfilelist dir="${basedir}" files="${build.gensrc}/${replacestring}/fo/properties/fo_${ignore_this},${build.gensrc}/${replacestring}/fo/properties/FOPropertyMapping.java,${build.gensrc}/${replacestring}/fo/properties/foenums_${ignore_this}"/> - </dependset> - - - <!-- ${ignore_this} used for out attribute because XSL stylesheet has commands to - write out to (many) files other than the one specified --> - <style in="${foproperties.xml}" style="${properties.xsl}" - out="${build.gensrc}/${replacestring}/fo/properties/fo_${ignore_this}"/> - <!--style in="${foproperties.xml}" style="${build.codegen}/fo-property-mapping.xsl" - out="${build.gensrc}/${replacestring}/fo/properties/FOPropertyMapping.java"/--> + <style in="${encodings.xml}" style="${charlist.xsl}" out="${build.gensrc}/${replacestring}/fonts//CodePointMapping.java"/> <!-- |