build.xml revision b0ac937921a2c196d8b9da665135bf6ba01a1ccf
1b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru<!DOCTYPE project [
2b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <!ENTITY icu-config SYSTEM "/icu-config.xml">
3b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru]>
4b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru<!--
5b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru/*
6b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru*******************************************************************************
7b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru* Copyright (C) 2005-2009, International Business Machines Corporation and    *
8b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru* others. All Rights Reserved.                                                *
9b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru*******************************************************************************
10b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru*/
11b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru-->
12b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru<project name="icu-build" default="all" basedir=".">
13b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="init">
14b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <tstamp/>
15b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
16b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <!-- Load environment variables -->
17b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <property environment="env"/>
18b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
19b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <condition property="is.icu4j.classes.set" >
20b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <or>
21b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <isset property="env.ICU4J_CLASSES" />
22b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <isset property="env.ICU4J_JAR" />
23b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </or>
24b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </condition >
25b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <fail unless="is.icu4j.classes.set" message="Please set the ICU4J_CLASSES or ICU4J_JAR environment variable."/>
26b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
27b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <condition property="is.icu4c.dir.set" >
28b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <isset property="env.ICU4C_DIR" />
29b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </condition >
30b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <fail unless="is.icu4c.dir.set" message="Please set the ICU4C_DIR environment variable."/>
31b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
32b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <condition property="is.cldr.dir.set" >
33b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <isset property="env.CLDR_DIR" />
34b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </condition >
35b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <fail unless="is.cldr.dir.set" message="Please set the CLDR_DIR environment variable."/>
36b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
37b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <condition property="is.cldr.classes.set" >
38b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <or>
39b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <isset property="env.CLDR_CLASSES" />
40b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <isset property="env.CLDR_JAR" />
41b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </or>
42b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </condition >
43b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <fail unless="is.cldr.classes.set" message="Please set the CLDR_CLASSES or CLDR_JAR environment variable."/>
44b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
45b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <condition property="is.utilities.classes.set" >
46b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <or>
47b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <isset property="env.ICU4J_CLASSES" />
48b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <isset property="env.UTILITIES_JAR" />
49b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </or>
50b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </condition >
51b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <fail unless="is.utilities.classes.set" message="Please set the ICU4J_CLASSES or UTILITIES_JAR environment variable."/>
52b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
53b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <echo message="java home: ${java.home}"/>
54b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <echo message="java version: ${java.version}"/>
55b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <echo message="ant java version: ${ant.java.version}"/>
56b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <echo message="${ant.version}"/>
57b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
58b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="setup">
59b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
60b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <echo message="${env.CLDR_CLASSES}"/>
61b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <taskdef name="cldr-build" classname="org.unicode.cldr.ant.CLDRBuild">
62b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <classpath>
63b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <pathelement path="${java.class.path}/"/>
64b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <pathelement path="${env.ICU4J_CLASSES}"/>
65b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <pathelement path="${env.CLDR_CLASSES}"/>
66b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <pathelement location="${env.ICU4J_JAR}"/>
67b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <pathelement location="${env.CLDR_JAR}"/>
68b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <pathelement location="${env.UTILITIES_JAR}"/>
69b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </classpath>
70b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </taskdef>
71b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
72b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <!-- target for generating ICU data -->
73b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru    <target name="all" depends="locales, resfiles, collation, colfiles, rbnf, rbnffiles, supplementalData, metazoneInfo, likelySubtags, plurals, numberingSystems, translit, brkitr, brkfiles" />
74b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <!-- parallel target -->
75b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="pall" depends="init">
76b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <parallel threadsPerProcessor ="1">
77b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          <sequential>
78b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <ant target='locales'>
79b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </ant>
80b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <ant target='resfiles'>
81b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </ant>
82b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          </sequential>
83b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          <sequential>
84b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <ant target='collation'>
85b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </ant>
86b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <ant target='colfiles'>
87b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </ant>
88b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          </sequential>
89b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru          <sequential>
90b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <ant target='rbnf'>
91b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            </ant>
92b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <ant target='rbnffiles'>
93b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            </ant>
94b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru          </sequential>
95b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          <ant target='supplementalData'>
96b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          </ant>
97b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          <sequential>
98b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <ant target='brkitr'>
99b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </ant>
100b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <ant target='brkfiles'>
101b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </ant>
102b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          </sequential>
103b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          <sequential>
104b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <ant target='translit'>
105b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </ant>
106b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <!--<ant target='trnsfiles'></ant>    Not ANT-built - see note below. -->
107b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru          </sequential>
108b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </parallel>
109b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru     </target>
110b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
111b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="locales" depends="init,setup" description="builds locale files in ICU text format">
112b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
113b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
114b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
115b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
116b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/main" />
117b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/locales"/>
118b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/main"/>
119b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
120b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
121b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
122b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                &icu-config;
123b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
124b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
125b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
126b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="resfiles" depends="init,setup" description="builds resfiles.mk">
127b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="resfiles.mk" noArgs="true">
128b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
129b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
130b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/main" />
131b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/locales"/>
132b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/main"/>
133b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
134b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-w" value="${env.CLDR_DIR}/common/main" />
135b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
136b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                  <!-- locale aliases (main) -->
137b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <deprecates>
138b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="in_ID" to="id_ID" />
139b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="iw_IL" to="he_IL" />
140b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="ja_JP_TRADITIONAL" to="ja_JP@calendar=japanese" xpath="//ldml/dates/calendars/default[@type='japanese']"/>
141c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <alias from="no_NO" to="nb_NO" />
142b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="no_NO_NY" to="nn_NO" />
143b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="en_RH" to="en_ZW" />
144b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="th_TH_TRADITIONAL" to="th_TH@calendar=buddhist" xpath="//ldml/dates/calendars/default[@type='buddhist']" />
145b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="az_AZ" />
146b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <aliasLocale locale="ha_GH" />
147b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <aliasLocale locale="ha_NE" />
148c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <aliasLocale locale="ha_NG" />
149c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <aliasLocale locale="kk_KZ" />
150c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <aliasLocale locale="in" />
151c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <aliasLocale locale="iw" />
152c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <aliasLocale locale="no" />
153b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="pa_IN" />
154c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <aliasLocale locale="pa_PK" />
155b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sh" />
156b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sh_BA" />
157b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sh_CS" />
158b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sh_YU" />
159b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_BA" />
160b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_CS" />
161b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_ME" />
162b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_RS" />
163b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_YU" />
164b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_Cyrl_YU" />
165b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_Cyrl_CS" />
166b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_Latn_YU" />
167b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="sr_Latn_CS" />
168b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="uz_AF" />
169b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="uz_UZ" />
170b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="zh_CN" />
171b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="zh_HK" />
172b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="zh_MO" />
173b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="zh_SG" />
174b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <aliasLocale locale="zh_TW" />
175b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </deprecates>
176b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
177b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
178b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
179b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="collation" depends="init,setup" description="builds collation files in ICU text format">
180b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
181b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
182b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
183b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/collation" />
184b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/coll"/>
185b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/collation"/>
186b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
187b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
188b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
189b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                &icu-config;
190b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
191b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
192b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
193b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="colfiles" depends="init, setup" description="builds colfiles.mk">
194b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="colfiles.mk" noArgs="true">
195b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
196b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
197b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
198b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/collation" />
199b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/coll"/>
200b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/collation"/>
201b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
202b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-w" value="${env.CLDR_DIR}/common/collation" />
203b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
204b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                 <deprecates>
205b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="de__PHONEBOOK" to="de@collation=phonebook"  xpath="//ldml/collations/default[@type='phonebook']"/>
206b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="es__TRADITIONAL" to="es@collation=traditional" xpath="//ldml/collations/default[@type='traditional']"/>
207b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="hi__DIRECT" to="hi@collation=direct" xpath="//ldml/collations/default[@type='direct']"/>
208b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="zh__PINYIN" to="zh@collation=pinyin" xpath="//ldml/collations/default[@type='pinyin']"/>
209b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="zh_TW_STROKE" to="zh@collation=stroke" xpath="//ldml/collations/default[@type='stroke']"/>
210b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="in" to="id" />
211b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="in_ID" to="id_ID" />
212b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="iw" to="he" />
213b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="iw_IL" to="he_IL" />
214b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="no" to="nb" />
215b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="no_NO" to="nb_NO" />
216b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <alias from="pa_IN" to="pa_Guru_IN" />
217b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="sh" to="sr_Latn" />
218b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="sh_BA" to="sr_Latn_BA" />
219b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="sh_CS" to="sr_Latn_RS" />
220b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="sh_YU" to="sr_Latn_RS" />
221b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="sr_BA" to="sr_Cyrl_BA" />
222b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="sr_ME" to="sr_Cyrl_ME" />
223b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="sr_RS" to="sr_Cyrl_RS" />
224b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="zh_CN" to="zh_Hans_CN" />
225b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="zh_SG" to="zh_Hans_SG" />
226b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="zh_HK" to="zh_Hant_HK" />
227b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="zh_MO" to="zh_Hant_MO" />
228b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <alias from="zh_TW" to="zh_Hant_TW" />
229b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <emptyLocale locale="de_" />
230b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <emptyLocale locale="es_" />
231b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <emptyLocale locale="hi_" />
232b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <emptyLocale locale="zh_" />
233b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </deprecates>
234b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
235b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
236b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
237b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru    <target name="rbnf" depends="init,setup" description="builds rbnf files in ICU text format">
238b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
239b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <run>
240b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                <args>
241b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/rbnf" />
242b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/rbnf"/>
243b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/rbnf"/>
244b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
245b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                </args>
246b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
247b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                &icu-config;
248b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            </run>
249b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru        </cldr-build>
250b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru    </target>
251b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru    <target name="rbnffiles" depends="init, setup" description="builds rbnffiles.mk">
252b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="rbnffiles.mk" noArgs="true">
253b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
254b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <run>
255b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                <args>
256b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/rbnf" />
257b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/rbnf"/>
258b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/rbnf"/>
259b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
260b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-w" value="${env.CLDR_DIR}/common/rbnf" />
261b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                </args>
262b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            </run>
263b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru        </cldr-build>
264b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru    </target>
265b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="supplementalData" depends="init,setup" description="builds supplementalData.txt from supplementalData.xml">
266b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="supplementalData.txt" noArgs="true">
267b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
268b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
269b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
270b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
271b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
272b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-l"/>
273b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-f"/>
274b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
275b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
276b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
277b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
278b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
279b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="metazoneInfo" depends="init,setup" description="builds metazoneInfo.txt from metazoneInfo.xml">
280b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="metazoneInfo.txt" noArgs="true">
281b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
282b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
283b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
284b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
285b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
286b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-z"/>
287b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-f"/>
288b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
289b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
290b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
291b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
292b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
293c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru    <target name="likelySubtags" depends="init,setup" description="builds likelySubtags.txt from likelySubtags.xml">
294c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="likelySubtags.txt" noArgs="true">
295c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
296c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <run>
297c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                <args>
298c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
299c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
300c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-t"/>
301c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-f"/>
302c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
303c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                </args>
304c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            </run>
305c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru        </cldr-build>
306c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru    </target>
307c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru    <target name="plurals" depends="init,setup" description="builds plurals.txt from plurals.xml">
308c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="plurals.txt" noArgs="true">
309c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
310c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <run>
311c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                <args>
312c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
313c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
314c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-r"/>
315c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-f"/>
316c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
317c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                </args>
318c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            </run>
319c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru        </cldr-build>
320c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru    </target>
321b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru    <target name="numberingSystems" depends="init,setup" description="builds numberingSystems.txt from numberingSystems.xml">
322b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="numberingSystems.txt" noArgs="true">
323b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
324b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <run>
325b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                <args>
326b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
327b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
328b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-n"/>
329b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-f"/>
330b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
331b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                </args>
332b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            </run>
333b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru        </cldr-build>
334b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru    </target>
335b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="brkitr" depends="init,setup" description="builds break iterator files in ICU text format">
336b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
337b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
338b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
339b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--sourcedir"       value="${env.ICU4C_DIR}/source/data/xml/brkitr"/>
340b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/brkitr"/>
341b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
342b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
343b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <!-- The entity include is not required for this target -->
344b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <!-- http://ant.apache.org/faq.html#xml-entity-include
345b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                &icu-config;
346b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                -->
347b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
348b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
349b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
350b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="brkfiles" depends="init, setup" description="builds brkfiles.mk">
351b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="brkfiles.mk" noArgs="true">
352b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <!-- launch the tool and generate the data after reading the config file -->
353b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
354b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
355b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-s" value="${env.ICU4C_DIR}/source/data/xml/brkitr" />
356b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/brkitr"/>
357b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
358b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="-w" value="${env.ICU4C_DIR}/source/data/xml/brkitr" />
359b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
360b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
361b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
362b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
363b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <target name="translit" depends="init,setup" description="builds collation files in ICU text format">
364b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile=".*txt">
365b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
366b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>
367b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                    <arg name="-m" value="((?!.*(Canadian|Ethiopic).*).*)" />
368b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--sourcedir" value="${env.CLDR_DIR}/common/transforms" />
369b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--destdir"   value="${env.ICU4C_DIR}/source/data/translit"/>
370b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name="--commentSkip"/>
371b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
372b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
373b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru
374b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
375b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
376b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
377b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <!-- we don't generate en.txt or el.txt - so don't change trnsfiles.mk for now. -->
378b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru<!--   
379b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru     <target name="trnsfiles" depends="init, setup" description="builds trnsfiles.mk">
380b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile="trnsfiles.mk" noArgs="true">
381b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <run>
382b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <args>   [ double hyphen not allowed in comments - transpose -" to fix below ]
383b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name=-"-sourcedir" value="${env.CLDR_DIR}/common/transforms" />
384b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name=-"-destdir"   value="${env.ICU4C_DIR}/source/data/translit"/>
385b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name=-"-commentSkip"/>
386b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                    <arg name=-"-writeIndex"/>
387b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                </args>
388b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </run>
389b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </cldr-build>
390b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target> -->
391b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    <target name="clean" depends="init, setup" description="deletes all txt files and mk files from coll and locales directories">
392b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        <delete>
393b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <fileset id="locales" dir="${env.ICU4C_DIR}/source/data/locales">
394b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="*.txt" />
395c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            </fileset>
396c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <fileset id="resfiles" dir="${env.ICU4C_DIR}/source/data/locales">
397b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="resfiles.mk" />
398b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </fileset>
399c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <fileset id="collation" dir="${env.ICU4C_DIR}/source/data/coll">
400b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="*.txt" />
401c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            </fileset>
402c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <fileset id="colfiles" dir="${env.ICU4C_DIR}/source/data/coll">
403b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="colfiles.mk" />
404b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </fileset>
405b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <fileset id="locales" dir="${env.ICU4C_DIR}/source/data/translit">
406b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="*_*.txt" />
407b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="root.txt" />
408b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </fileset>
409b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            <fileset id="locales" dir="${env.ICU4C_DIR}/source/data/brkitr">
410b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <!-- brkitr directory contains bunch of txt files that are not produced by LDML2ICUConverter.
411b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                     So can't clean up everything. This needs to be updated when new files are added to xml/brkitr directory -->
412b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="root.txt, en.txt, en_US.txt, en_US_POSIX.txt, ja.txt" />
413b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="brkfiles.mk" />
414b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </fileset>
415c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <fileset id="supplementalData" dir="${env.ICU4C_DIR}/source/data/misc">
416b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="supplementalData.txt" />
417b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </fileset>
418c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <fileset id="metazoneInfo" dir="${env.ICU4C_DIR}/source/data/misc">
419b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru                <include name="metazoneInfo.txt" />
420b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru            </fileset>
421c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <fileset id="likelySubtags" dir="${env.ICU4C_DIR}/source/data/misc">
422c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                <include name="likelySubtags.txt" />
423c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            </fileset>
424c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            <fileset id="plurals" dir="${env.ICU4C_DIR}/source/data/misc">
425c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru                <include name="plurals.txt" />
426c69afcec261fc345fda8daf46f0ea6b4351dc777Jean-Baptiste Queru            </fileset>
427b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            <fileset id="numberingSystems" dir="${env.ICU4C_DIR}/source/data/misc">
428b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru                <include name="numberingSystems.txt" />
429b0ac937921a2c196d8b9da665135bf6ba01a1ccfJean-Baptiste Queru            </fileset>
430b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru        </delete>
431b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru    </target>
432b13da9df870a61b11249bf741347908dbea0edd8Jean-Baptiste Queru</project>
433