2
*******************************************************************************
3
* Copyright (C) 2009-2011, International Business Machines Corporation and *
4
* others. All Rights Reserved. *
5
*******************************************************************************
7
<project name="translit" default="build" basedir=".">
8
<property file="build-local.properties"/>
9
<property file="build.properties"/>
10
<import file="${shared.dir}/build/common-targets.xml"/>
12
<path id="javac.classpathref">
13
<path refid="javac.classpathref.${ant.project.name}"/>
15
<property name="jar.file" value="${icu4j.translit.jar}"/>
17
<target name="build" depends="compile, copy, jar" description="Build the project"/>
19
<target name="build-all" depends="@build-all" description="Build the project including all dependencies"/>
21
<target name="clean" depends="@clean" description="Clean up the build outputs"/>
23
<target name="compile" depends="@compile" description="Compile java source files"/>
25
<target name="copy" depends="@copy, copy-data" description="Copy non-java runtime files to the project's binary directory"/>
27
<target name="jar" depends="compile, copy, @jar" description="Create the project's jar file"/>
29
<target name="copy-data" description="Extract pre-built ICU transliteration data files and copy them to the project's binary directory">
30
<unjar src="${icu4j.data.jar}" dest="${bin.dir}">
31
<patternset includes="${icu4j.data.path}/translit/**"/>
34
<antcall target="@full-locale-names">
35
<param name="res.dir" value="${bin.dir}/${icu4j.data.path}/translit"/>