Skip to content

Commit

Permalink
update saxon to version 10
Browse files Browse the repository at this point in the history
  • Loading branch information
rettinghaus committed Jan 27, 2022
1 parent 4961ba8 commit 2b398cc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<property name="dir.dist.schemata" value="${basedir}/${dir.dist}/schemata/${version}"/>
<path id="mei.classpath">
<pathelement path="${basedir}/lib/xerces/oxygen-patched-xerces-21.1.0.2.jar"/>
<pathelement path="${basedir}/lib/saxon/saxon9he.jar"/>
<pathelement path="${basedir}/lib/saxon/saxon-he-10.5.jar"/>
</path>
<property name="java.class.path" value="" classpathref="mei.classpath"/>
<condition property="canonicalizedSourcePath" value="${dir.dist.schemata}/mei-source_canonicalized.xml" else="file:/${windir}/${dir.dist}/schemata/${version}/mei-source_canonicalized.xml">
Expand Down Expand Up @@ -67,7 +67,7 @@
<echo/>
<echo>To build distribution of canonicalized source, compiled ODDs and customization RNGs run:</echo>
<echo>ant init</echo>
<echo>ant -lib lib/saxon/saxon9he.jar</echo>
<echo>ant -lib lib/saxon/saxon-he-10.5.jar</echo>
<echo/>
<echo>run 'ant -projecthelp' or 'ant -p' to get more information on the available build targets</echo>
<echo/>
Expand Down Expand Up @@ -103,15 +103,15 @@

<target name="init" description="initializes the build, e.g. downloads saxon">
<available property="xerces-available" file="${basedir}/lib/xerces/oxygen-patched-xerces-21.1.0.2.jar"/>
<available property="saxon-available" file="${basedir}/lib/saxon/saxon9he.jar"/>
<available property="saxon-available" file="${basedir}/lib/saxon/saxon-he-10.5.jar"/>
<antcall target="saxon-prepare"/>
<antcall target="xerces-download"/>
<echo>initialized</echo>
</target>

<target name="saxon-download" unless="${saxon-available}">
<mkdir dir="temp"/>
<get src="https://sourceforge.net/projects/saxon/files/Saxon-HE/9.9/SaxonHE9-9-1-7J.zip/download" dest="temp/"/>
<get src="https://sourceforge.net/projects/saxon/files/Saxon-HE/10/Java/SaxonHE10-5J.zip/download" dest="temp/"/>
<!-- TODO check for newer releases-->
</target>

Expand Down Expand Up @@ -174,7 +174,7 @@
<equals arg1="${github.sha}" arg2="github.sha" forcestring="true"/>
</not>
</condition>
<java classname="net.sf.saxon.Transform" classpath="${basedir}/lib/xerces/oxygen-patched-xerces-21.1.0.2.jar;${basedir}/lib/saxon/saxon9he.jar" failonerror="true">
<java classname="net.sf.saxon.Transform" classpath="${basedir}/lib/xerces/oxygen-patched-xerces-21.1.0.2.jar;${basedir}/lib/saxon/saxon-he-10.5.jar" failonerror="true">
<arg value="-s:${dir.dist.schemata}/mei-source_canonicalized.xml"/>
<arg value="-xsl:${basedir}/utils/guidelines_xslt/odd2html.xsl"/>
<arg value="-xi:on"/>
Expand Down

0 comments on commit 2b398cc

Please sign in to comment.