12e5b6d6dSopenharmony_ci<!--
22e5b6d6dSopenharmony_ci********************************************************************************
32e5b6d6dSopenharmony_ci* Copyright (C) 2016 and later: Unicode, Inc. and others.                      *
42e5b6d6dSopenharmony_ci* License & terms of use: http://www.unicode.org/copyright.html        *
52e5b6d6dSopenharmony_ci********************************************************************************
62e5b6d6dSopenharmony_ci********************************************************************************
72e5b6d6dSopenharmony_ci* Copyright (C) 2009-2014, International Business Machines Corporation and     *
82e5b6d6dSopenharmony_ci* others. All Rights Reserved.                                                 *
92e5b6d6dSopenharmony_ci********************************************************************************
102e5b6d6dSopenharmony_ci-->
112e5b6d6dSopenharmony_ci<project name="collate-tests" default="build" basedir=".">
122e5b6d6dSopenharmony_ci    <property file="build-local.properties"/>
132e5b6d6dSopenharmony_ci    <property file="build.properties"/>
142e5b6d6dSopenharmony_ci    <import file="${shared.dir}/build/common-targets.xml"/>
152e5b6d6dSopenharmony_ci
162e5b6d6dSopenharmony_ci    <path id="javac.classpathref">
172e5b6d6dSopenharmony_ci	   	<path refid="junit.jars"/>
182e5b6d6dSopenharmony_ci        <path refid="javac.classpathref.${ant.project.name}"/>
192e5b6d6dSopenharmony_ci    </path>
202e5b6d6dSopenharmony_ci    <property name="jar.name" value="icu4j-${ant.project.name}.jar"/>
212e5b6d6dSopenharmony_ci    <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/>
222e5b6d6dSopenharmony_ci
232e5b6d6dSopenharmony_ci    <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/>
242e5b6d6dSopenharmony_ci
252e5b6d6dSopenharmony_ci    <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/>
262e5b6d6dSopenharmony_ci
272e5b6d6dSopenharmony_ci    <target name="clean" depends="@clean" description="Clean up the build outputs"/>
282e5b6d6dSopenharmony_ci
292e5b6d6dSopenharmony_ci    <target name="compile" depends="@compile" description="Compile java source files"/>
302e5b6d6dSopenharmony_ci
312e5b6d6dSopenharmony_ci    <target name="copy" depends="@copy, copy-collate-test-data" description="Copy non-java runtime files to the project's binary directory"/>
322e5b6d6dSopenharmony_ci
332e5b6d6dSopenharmony_ci    <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/>
342e5b6d6dSopenharmony_ci
352e5b6d6dSopenharmony_ci    <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/>
362e5b6d6dSopenharmony_ci
372e5b6d6dSopenharmony_ci    <target name="copy-collate-test-data" description="Extract pre-built ICU collation test data files and copy them to the project's binary directory">
382e5b6d6dSopenharmony_ci        <unjar src="${icu4j.testdata.jar}" dest="${bin.dir}">
392e5b6d6dSopenharmony_ci            <patternset>
402e5b6d6dSopenharmony_ci                <include name="**/DataDrivenCollationTest.res"/>
412e5b6d6dSopenharmony_ci            </patternset>
422e5b6d6dSopenharmony_ci        </unjar>
432e5b6d6dSopenharmony_ci        <copy todir="${bin.dir}">
442e5b6d6dSopenharmony_ci            <fileset dir="${icu4j.collate-tests.dir}/src">
452e5b6d6dSopenharmony_ci                <include name="com/ibm/icu/dev/data/collationtest.txt"/>
462e5b6d6dSopenharmony_ci                <include name="com/ibm/icu/dev/data/CollationTest_*.txt"/>
472e5b6d6dSopenharmony_ci                <include name="com/ibm/icu/dev/data/riwords.txt"/>
482e5b6d6dSopenharmony_ci            </fileset>
492e5b6d6dSopenharmony_ci        </copy>
502e5b6d6dSopenharmony_ci    </target>
512e5b6d6dSopenharmony_ci</project>
52