Browse Source

Use libs-run-classpath for hyphenation-present and junit-layout


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@315029 13f79535-47bb-0310-9956-ffa450edef68
pull/31/head
Simon Pepping 18 years ago
parent
commit
30f46890cf
1 changed files with 3 additions and 6 deletions
  1. 3
    6
      build.xml

+ 3
- 6
build.xml View File

<target name="hyphenation-present" depends="junit-compile" if="junit.present"> <target name="hyphenation-present" depends="junit-compile" if="junit.present">
<condition property="hyphenation.present"> <condition property="hyphenation.present">
<and><!-- All the hyphenation files required by the layout test cases to be listed here --> <and><!-- All the hyphenation files required by the layout test cases to be listed here -->
<available resource="hyph/en.hyp" classpathref="libs-build-classpath"/>
<available resource="hyph/de.hyp" classpathref="libs-build-classpath"/>
<available resource="hyph/en.hyp" classpathref="libs-run-classpath"/>
<available resource="hyph/de.hyp" classpathref="libs-run-classpath"/>
</and> </and>
</condition> </condition>
<condition property="hyphenation.message" value="Hyphenation Support PRESENT"> <condition property="hyphenation.message" value="Hyphenation Support PRESENT">
<formatter type="brief" usefile="false"/> <formatter type="brief" usefile="false"/>
<classpath> <classpath>
<pathelement location="${build.dir}/test-classes"/> <pathelement location="${build.dir}/test-classes"/>
<path refid="libs-build-classpath"/>
<fileset dir="build">
<include name="fop.jar"/>
</fileset>
<path refid="libs-run-classpath"/>
</classpath> </classpath>
<batchtest todir="${build.dir}/test-reports/fop"> <batchtest todir="${build.dir}/test-reports/fop">
<fileset dir="${build.dir}/test-classes"> <fileset dir="${build.dir}/test-classes">

Loading…
Cancel
Save