12e5b6d6dSopenharmony_ci<!--
22e5b6d6dSopenharmony_ci* © 2016 and later: Unicode, Inc. and others.
32e5b6d6dSopenharmony_ci* License & terms of use: http://www.unicode.org/copyright.html
42e5b6d6dSopenharmony_ci*******************************************************************************
52e5b6d6dSopenharmony_ci* Copyright (C) 2009-2015, International Business Machines Corporation and
62e5b6d6dSopenharmony_ci* others. All Rights Reserved.
72e5b6d6dSopenharmony_ci*******************************************************************************
82e5b6d6dSopenharmony_ci-->
92e5b6d6dSopenharmony_ci<project name="translit" default="build" basedir=".">
102e5b6d6dSopenharmony_ci    <property file="build-local.properties"/>
112e5b6d6dSopenharmony_ci    <property file="build.properties"/>
122e5b6d6dSopenharmony_ci    <import file="${shared.dir}/build/common-targets.xml"/>
132e5b6d6dSopenharmony_ci
142e5b6d6dSopenharmony_ci    <path id="javac.classpathref">
152e5b6d6dSopenharmony_ci        <path refid="javac.classpathref.${ant.project.name}"/>
162e5b6d6dSopenharmony_ci    </path>
172e5b6d6dSopenharmony_ci    <property name="jar.name" value="icu4j-${ant.project.name}.jar"/>
182e5b6d6dSopenharmony_ci    <property name="src.jar.name" value="icu4j-${ant.project.name}-src.jar"/>
192e5b6d6dSopenharmony_ci
202e5b6d6dSopenharmony_ci    <target name="build" depends="compile, copy, jar, src-jar" description="Build the project"/>
212e5b6d6dSopenharmony_ci
222e5b6d6dSopenharmony_ci    <target name="build-all" depends="@build-all" description="Build the project including all dependencies"/>
232e5b6d6dSopenharmony_ci
242e5b6d6dSopenharmony_ci    <target name="clean" depends="@clean" description="Clean up the build outputs"/>
252e5b6d6dSopenharmony_ci
262e5b6d6dSopenharmony_ci    <target name="compile" depends="@compile" description="Compile java source files"/>
272e5b6d6dSopenharmony_ci
282e5b6d6dSopenharmony_ci    <target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/>
292e5b6d6dSopenharmony_ci
302e5b6d6dSopenharmony_ci    <target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/>
312e5b6d6dSopenharmony_ci
322e5b6d6dSopenharmony_ci    <target name="src-jar" depends="@src-jar" description="Create the project's source jar file"/>
332e5b6d6dSopenharmony_ci
342e5b6d6dSopenharmony_ci    <target name="findbugs" depends="@findbugs" description="Search the project for possible defects using FindBugs." />
352e5b6d6dSopenharmony_ci
362e5b6d6dSopenharmony_ci    <target name="copy-data" unless="icu4c.data.path" description="Extract pre-built ICU transliteration data files and copy them to the project's binary directory">
372e5b6d6dSopenharmony_ci        <unjar src="${icu4j.data.jar}" dest="${bin.dir}">
382e5b6d6dSopenharmony_ci            <patternset includes="${icu4j.data.path}/translit/**"/>
392e5b6d6dSopenharmony_ci        </unjar>
402e5b6d6dSopenharmony_ci
412e5b6d6dSopenharmony_ci        <antcall target="@full-locale-names">
422e5b6d6dSopenharmony_ci            <param name="res.dir" value="${bin.dir}/${icu4j.data.path}/translit"/>
432e5b6d6dSopenharmony_ci        </antcall>
442e5b6d6dSopenharmony_ci    </target>
452e5b6d6dSopenharmony_ci
462e5b6d6dSopenharmony_ci</project>
47