1<!-- 2******************************************************************************** 3* Copyright (C) 2016 and later: Unicode, Inc. and others. * 4* License & terms of use: http://www.unicode.org/copyright.html * 5******************************************************************************** 6******************************************************************************** 7* Copyright (C) 2009-2014, International Business Machines Corporation and * 8* others. All Rights Reserved. * 9******************************************************************************** 10--> 11<project name="collate-tests" default="build" basedir="."> 12 <property file="build-local.properties"/> 13 <property file="build.properties"/> 14 <import file="${shared.dir}/build/common-targets.xml"/> 15 16 <path id="javac.classpathref"> 17 <path refid="junit.jars"/> 18 <path refid="javac.classpathref.${ant.project.name}"/> 19 </path> 20 <property name="jar.name" value="icu4j-${ant.project.name}.jar"/> 21 <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/> 22 23 <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/> 24 25 <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/> 26 27 <target name="clean" depends="@clean" description="Clean up the build outputs"/> 28 29 <target name="compile" depends="@compile" description="Compile java source files"/> 30 31 <target name="copy" depends="@copy, copy-collate-test-data" description="Copy non-java runtime files to the project's binary directory"/> 32 33 <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/> 34 35 <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/> 36 37 <target name="copy-collate-test-data" description="Extract pre-built ICU collation test data files and copy them to the project's binary directory"> 38 <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}"> 39 <patternset> 40 <include name="**/DataDrivenCollationTest.res"/> 41 </patternset> 42 </unjar> 43 <copy todir="${bin.dir}"> 44 <fileset dir="${icu4j.collate-tests.dir}/src"> 45 <include name="com/ibm/icu/dev/data/collationtest.txt"/> 46 <include name="com/ibm/icu/dev/data/CollationTest_*.txt"/> 47 <include name="com/ibm/icu/dev/data/riwords.txt"/> 48 </fileset> 49 </copy> 50 </target> 51</project> 52