mrglavas 2003/11/14 10:28:19 Modified: java build.xml Log: Replace tokens for the default configuration in entities.ent using two new properties. We could come up with something fancier in the future which reads org/apache/xerces/parsers/org.apache.xerces.xni.parser.XMLParserConfiguration, but at least for now when the default config changes, we only have to change the value of the properties in the build file. Revision Changes Path 1.150 +8 -1 xml-xerces/java/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/xml-xerces/java/build.xml,v retrieving revision 1.149 retrieving revision 1.150 diff -u -r1.149 -r1.150 --- build.xml 14 Nov 2003 04:10:40 -0000 1.149 +++ build.xml 14 Nov 2003 18:28:19 -0000 1.150 @@ -43,6 +43,9 @@ <property name='jar.parser' value='xercesImpl.jar'/> <property name='jar.samples' value='xercesSamples.jar'/> <property name='jar.dv' value='xercesDV.jar'/> + + <property name='default.parser.config.name' value='XML11Configuration'/> + <property name='default.parser.config.qualified' value='org.apache.xerces.parsers.XML11Configuration'/> <property name="year" value="1999-2003"/> <property name="copyright" value="Copyright © ${year} Apache XML Project. All Rights Reserved."/> @@ -331,6 +334,10 @@ token="@@version@@" value="${parser.version}"/> <replace file="${build.dir}/xdocs/dtd/entities.ent" token="@@_version_@@" value="${parser_version}"/> + <replace file="${build.dir}/xdocs/dtd/entities.ent" + token="@@DEFAULT_CONFIG@@" value="${default.parser.config.name}"/> + <replace file="${build.dir}/xdocs/dtd/entities.ent" + token="@@DEFAULT_CONFIG_LONG@@" value="${default.parser.config.qualified}"/> </target> <!-- =================================================================== -->
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]