f47f7dd7c7ec4e2e1722273516105ae74ccca1bd
[platform/framework/web/crosswalk.git] / src / third_party / icu / source / data / build.xml
1 <!DOCTYPE project [
2     <!ENTITY icu-config SYSTEM "./icu-config.xml">
3     <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml">
4 ]>
5 <!--
6 /*
7 *******************************************************************************
8 * Copyright (C) 2005-2010, International Business Machines Corporation and    *
9 * others. All Rights Reserved.                                                *
10 *******************************************************************************
11 */
12 -->
13 <project name="icu-build" default="all" basedir=".">
14     <target name="init">
15         <tstamp/>
16
17         <!-- Load environment variables -->
18         <property environment="env"/>
19
20         <condition property="is.icu4j.classes.set" >
21             <or>
22                 <isset property="env.ICU4J_CLASSES" />
23                 <isset property="env.ICU4J_JAR" />
24             </or>
25         </condition >
26         <fail unless="is.icu4j.classes.set" message="Please set the ICU4J_CLASSES or ICU4J_JAR environment variable."/>
27
28         <condition property="is.icu4c.dir.set" >
29             <isset property="env.ICU4C_DIR" />
30         </condition >
31         <fail unless="is.icu4c.dir.set" message="Please set the ICU4C_DIR environment variable."/>
32
33         <condition property="is.cldr.dir.set" >
34             <isset property="env.CLDR_DIR" />
35         </condition >
36         <fail unless="is.cldr.dir.set" message="Please set the CLDR_DIR environment variable."/>
37
38         <condition property="is.cldr.classes.set" >
39             <or>
40                 <isset property="env.CLDR_CLASSES" />
41                 <isset property="env.CLDR_JAR" />
42             </or>
43         </condition >
44         <fail unless="is.cldr.classes.set" message="Please set the CLDR_CLASSES or CLDR_JAR environment variable."/>
45
46         <condition property="is.utilities.classes.set" >
47             <or>
48                 <isset property="env.ICU4J_CLASSES" />
49                 <isset property="env.UTILITIES_JAR" />
50             </or>
51         </condition >
52         <fail unless="is.utilities.classes.set" message="Please set the ICU4J_CLASSES or UTILITIES_JAR environment variable."/>
53
54         <echo message="java home: ${java.home}"/>
55         <echo message="java version: ${java.version}"/>
56         <echo message="ant java version: ${ant.java.version}"/>
57         <echo message="${ant.version}"/>
58     </target>
59     <target name="setup">
60
61         <echo message="${env.CLDR_CLASSES}"/>
62         <taskdef name="cldr-build" classname="org.unicode.cldr.ant.CLDRBuild">
63             <classpath>
64                 <pathelement path="${java.class.path}/"/>
65                 <pathelement path="${env.ICU4J_CLASSES}"/>
66                 <pathelement path="${env.CLDR_CLASSES}"/>
67                 <pathelement location="${env.ICU4J_JAR}"/>
68                 <pathelement location="${env.CLDR_JAR}"/>
69                 <pathelement location="${env.UTILITIES_JAR}"/>
70             </classpath>
71         </taskdef>
72     </target>
73     <!-- target for generating ICU data -->
74     <target name="all" depends="locales, resfiles, resfiles_curr, resfiles_lang, resfiles_region, resfiles_zone, collation, colfiles, rbnf, rbnffiles, supplementalData, metaZones, windowsZones, likelySubtags, plurals, numberingSystems, translit, brkitr, brkfiles, keyTypeData" />
75     <!-- parallel target -->
76     <target name="pall" depends="init">
77         <parallel threadsPerProcessor ="1">
78           <sequential>
79             <ant target='locales' />
80             <ant target='resfiles' />
81             <ant target='resfiles_curr' />
82             <ant target='resfiles_lang' />
83             <ant target='resfiles_region' />
84             <ant target='resfiles_zone' />
85           </sequential>
86           <sequential>
87             <ant target='collation'>
88             </ant>
89             <ant target='colfiles'>
90             </ant>
91           </sequential>
92           <sequential>
93             <ant target='rbnf'>
94             </ant>
95             <ant target='rbnffiles'>
96             </ant>
97           </sequential>
98           <ant target='supplementalData'>
99           </ant>
100           <sequential>
101             <ant target='brkitr'>
102             </ant>
103             <ant target='brkfiles'>
104             </ant>
105           </sequential>
106           <sequential>
107             <ant target='translit'>
108             </ant>
109             <!--<ant target='trnsfiles'></ant> Not ANT-built - see
110             note below. -->
111           </sequential>
112         </parallel>
113      </target>
114
115     <target name="locales" depends="init,setup" description="builds locale files in ICU text format">
116         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
117             <!-- launch the tool and generate the data after reading the config file -->
118             <run>
119                 <args>
120                     <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/main" />
121                     <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/locales"/>
122                     <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/main"/>
123                     <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
124                 </args>
125                 <remapper>
126                   <remap sourcePath="/Keys" targetDir="lang" />
127                   <remap sourcePath="/Languages" targetDir="lang" />
128                   <remap sourcePath="/LanguagesShort" targetDir="lang" />
129                   <remap sourcePath="/Scripts" targetDir="lang" />
130                   <remap sourcePath="/Types" targetDir="lang" />
131                   <remap sourcePath="/Variants" targetDir="lang" />
132                   <remap sourcePath="/codePatterns" targetDir="lang" />
133                   <remap sourcePath="/localeDisplayPattern" targetDir="lang" />
134                   <remap sourcePath="/Countries" targetDir="region" />
135                   <remap sourcePath="/Currencies" targetDir="curr" />
136                   <remap sourcePath="/CurrencyPlurals" targetDir="curr" />
137                   <remap sourcePath="/CurrencyUnitPatterns" targetDir="curr" />
138                   <remap sourcePath="/currencySpacing" targetDir="curr" />
139                   <remap sourcePath="/zoneStrings" targetDir="zone" />
140                 </remapper>
141                 <!-- http://ant.apache.org/faq.html#xml-entity-include -->
142                 &icu-config;
143             </run>
144         </cldr-build>
145     </target>
146     <target name="resfiles" depends="init,setup" description="builds resfiles.mk">
147         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="resfiles.mk" noArgs="true">
148             <run>
149                 <args>
150                     <arg name="-s" value="${env.CLDR_DIR}/common/main" />
151                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/locales"/>
152                     <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/main"/>
153                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
154                     <arg name="-w" value="${env.CLDR_DIR}/common/main" />
155                 </args>
156                 &icu-locale-deprecates;
157             </run>
158         </cldr-build>
159     </target>
160     <target name="resfiles_curr" depends="init,setup" description="builds curr/resfiles.mk">
161         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="resfiles.mk" noArgs="true">
162             <run>
163                 <args>
164                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/curr" />
165                     <arg name="-s" value="${env.CLDR_DIR}/common/main" />
166                     <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/main"/>
167                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
168                     <arg name="-w" value="${env.CLDR_DIR}/common/main" />
169                 </args>
170                 &icu-locale-deprecates;
171             </run>
172         </cldr-build>
173     </target>
174     <target name="resfiles_lang" depends="init,setup" description="builds lang/resfiles.mk">
175         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="resfiles.mk" noArgs="true">
176             <run>
177                 <args>
178                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/lang" />
179                     <arg name="-s" value="${env.CLDR_DIR}/common/main" />
180                     <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/main"/>
181                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
182                     <arg name="-w" value="${env.CLDR_DIR}/common/main" />
183                 </args>
184                 &icu-locale-deprecates;
185             </run>
186         </cldr-build>
187     </target>
188     <target name="resfiles_region" depends="init,setup" description="builds region/resfiles.mk">
189         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="resfiles.mk" noArgs="true">
190             <run>
191                 <args>
192                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/region" />
193                     <arg name="-s" value="${env.CLDR_DIR}/common/main" />
194                     <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/main"/>
195                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
196                     <arg name="-w" value="${env.CLDR_DIR}/common/main" />
197                 </args>
198                 &icu-locale-deprecates;
199             </run>
200         </cldr-build>
201     </target>
202     <target name="resfiles_zone" depends="init,setup" description="builds zone/resfiles.mk">
203         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="resfiles.mk" noArgs="true">
204             <run>
205                 <args>
206                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/zone" />
207                     <arg name="-s" value="${env.CLDR_DIR}/common/main" />
208                     <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/main"/>
209                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
210                     <arg name="-w" value="${env.CLDR_DIR}/common/main" />
211                 </args>
212                 &icu-locale-deprecates;
213             </run>
214         </cldr-build>
215     </target>
216     <target name="collation" depends="init,setup" description="builds collation files in ICU text format">
217         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
218             <run>
219                 <args>
220                     <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/collation" />
221                     <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/coll"/>
222                     <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/collation"/>
223                     <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
224                 </args>
225                 <!-- http://ant.apache.org/faq.html#xml-entity-include -->
226                 &icu-config;
227             </run>
228         </cldr-build>
229     </target>
230     <target name="colfiles" depends="init, setup" description="builds colfiles.mk">
231         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="colfiles.mk" noArgs="true">
232             <!-- launch the tool and generate the data after reading the config file -->
233             <run>
234                 <args>
235                     <arg name="-s" value="${env.CLDR_DIR}/common/collation" />
236                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/coll"/>
237                     <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/collation"/>
238                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
239                     <arg name="-w" value="${env.CLDR_DIR}/common/collation" />
240                 </args>
241                 <!-- http://ant.apache.org/faq.html#xml-entity-include -->
242                 &icu-config;
243                  <deprecates>
244                     <alias from="de__PHONEBOOK" to="de@collation=phonebook"  xpath="//ldml/collations/default[@type='phonebook']"/>
245                     <alias from="es__TRADITIONAL" to="es@collation=traditional" xpath="//ldml/collations/default[@type='traditional']"/>
246                     <alias from="hi__DIRECT" to="hi@collation=direct" xpath="//ldml/collations/default[@type='direct']"/>
247                     <alias from="zh__PINYIN" to="zh@collation=pinyin" xpath="//ldml/collations/default[@type='pinyin']"/>
248                     <alias from="zh_TW_STROKE" to="zh@collation=stroke" xpath="//ldml/collations/default[@type='stroke']"/>
249                     <alias from="in" to="id" />
250                     <alias from="in_ID" to="id_ID" />
251                     <alias from="iw" to="he" />
252                     <alias from="iw_IL" to="he_IL" />
253                     <alias from="mo" to="ro_MD" />
254                     <alias from="no" to="nb" />
255                     <alias from="no_NO" to="nb_NO" />
256                     <alias from="pa_IN" to="pa_Guru_IN" />
257                     <alias from="sh" to="sr_Latn" />
258                     <alias from="sh_BA" to="sr_Latn_BA" />
259                     <alias from="sh_CS" to="sr_Latn_RS" />
260                     <alias from="sh_YU" to="sr_Latn_RS" />
261                     <alias from="sr_BA" to="sr_Cyrl_BA" />
262                     <alias from="sr_ME" to="sr_Cyrl_ME" />
263                     <alias from="sr_RS" to="sr_Cyrl_RS" />
264                     <alias from="zh_CN" to="zh_Hans_CN" />
265                     <alias from="zh_SG" to="zh_Hans_SG" />
266                     <alias from="zh_HK" to="zh_Hant_HK" />
267                     <alias from="zh_MO" to="zh_Hant_MO" />
268                     <alias from="zh_TW" to="zh_Hant_TW" />
269                     <emptyLocale locale="de_" />
270                     <emptyLocale locale="es_" />
271                     <emptyLocale locale="hi_" />
272                     <emptyLocale locale="zh_" />
273                 </deprecates>
274             </run>
275         </cldr-build>
276     </target>
277     <target name="rbnf" depends="init,setup" description="builds rbnf files in ICU text format">
278         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
279             <run>
280                 <args>
281                     <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/rbnf" />
282                     <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/rbnf"/>
283                     <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/rbnf"/>
284                     <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
285                 </args>
286                 <!-- http://ant.apache.org/faq.html#xml-entity-include -->
287                 &icu-config;
288             </run>
289         </cldr-build>
290     </target>
291     <target name="rbnffiles" depends="init, setup" description="builds rbnffiles.mk">
292         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="rbnffiles.mk" noArgs="true">
293             <!-- launch the tool and generate the data after reading the config file -->
294             <run>
295                 <args>
296                     <arg name="-s" value="${env.CLDR_DIR}/common/rbnf" />
297                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/rbnf"/>
298                     <arg name="-p" value="${env.ICU4C_DIR}/source/data/xml/rbnf"/>
299                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
300                     <arg name="-w" value="${env.CLDR_DIR}/common/rbnf" />
301                 </args>
302             </run>
303         </cldr-build>
304     </target>
305     <target name="supplementalData" depends="init,setup" description="builds supplementalData.txt from supplementalData.xml">
306         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="supplementalData.txt" noArgs="true">
307             <!-- launch the tool and generate the data after reading the config file -->
308             <run>
309                 <args>
310                     <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
311                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
312                     <arg name="-l"/>
313                     <arg name="-f"/>
314                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
315                 </args>
316                 <remapper>
317                   <remap sourcePath="/CurrencyMap" targetDir="curr" />
318                   <remap sourcePath="/CurrencyMeta" targetDir="curr" />
319                 </remapper>
320             </run>
321         </cldr-build>
322     </target>
323     <target name="metaZones" depends="init,setup" description="builds metaZones.txt from metaZones.xml">
324         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="metaZones.txt" noArgs="true">
325             <!-- launch the tool and generate the data after reading the config file -->
326             <run>
327                 <args>
328                     <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
329                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
330                     <arg name="-z"/>
331                     <arg name="-f"/>
332                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
333                 </args>
334             </run>
335         </cldr-build>
336     </target>
337     <target name="windowsZones" depends="init,setup" description="builds windowsZones.txt from windowsZones.xml">
338         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="windowsZones.txt" noArgs="true">
339             <!-- launch the tool and generate the data after reading the config file -->
340             <run>
341                 <args>
342                     <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
343                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
344                     <arg name="-i"/>
345                     <arg name="-f"/>
346                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
347                 </args>
348             </run>
349         </cldr-build>
350     </target>
351     <target name="likelySubtags" depends="init,setup" description="builds likelySubtags.txt from likelySubtags.xml">
352         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="likelySubtags.txt" noArgs="true">
353             <!-- launch the tool and generate the data after reading the config file -->
354             <run>
355                 <args>
356                     <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
357                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
358                     <arg name="-t"/>
359                     <arg name="-f"/>
360                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
361                 </args>
362             </run>
363         </cldr-build>
364     </target>
365     <target name="plurals" depends="init,setup" description="builds plurals.txt from plurals.xml">
366         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="plurals.txt" noArgs="true">
367             <!-- launch the tool and generate the data after reading the config file -->
368             <run>
369                 <args>
370                     <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
371                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
372                     <arg name="-r"/>
373                     <arg name="-f"/>
374                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
375                 </args>
376             </run>
377         </cldr-build>
378     </target>
379     <target name="numberingSystems" depends="init,setup" description="builds numberingSystems.txt from numberingSystems.xml">
380         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="numberingSystems.txt" noArgs="true">
381             <!-- launch the tool and generate the data after reading the config file -->
382             <run>
383                 <args>
384                     <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
385                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
386                     <arg name="-n"/>
387                     <arg name="-f"/>
388                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
389                 </args>
390             </run>
391         </cldr-build>
392     </target>
393     <target name="brkitr" depends="init,setup" description="builds break iterator files in ICU text format">
394         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt">
395             <run>
396                 <args>
397                     <arg name="--sourcedir"       value="${env.ICU4C_DIR}/source/data/xml/brkitr"/>
398                     <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/brkitr"/>
399                     <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
400                 </args>
401                 <!-- The entity include is not required for this target -->
402                 <!-- http://ant.apache.org/faq.html#xml-entity-include
403                 &icu-config;
404                 -->
405             </run>
406         </cldr-build>
407     </target>
408     <target name="brkfiles" depends="init, setup" description="builds brkfiles.mk">
409         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="brkfiles.mk" noArgs="true">
410             <!-- launch the tool and generate the data after reading the config file -->
411             <run>
412                 <args>
413                     <arg name="-s" value="${env.ICU4C_DIR}/source/data/xml/brkitr" />
414                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/brkitr"/>
415                     <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" />
416                     <arg name="-w" value="${env.ICU4C_DIR}/source/data/xml/brkitr" />
417                 </args>
418             </run>
419         </cldr-build>
420     </target>
421
422     <target name="keyTypeData" depends="init,setup" description="builds keyTypeData.txt and timezoneTypes.txt from bcp47/*.xml">
423         <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" noArgs="true">
424             <!-- launch the tool and generate the data after reading the config file -->
425             <run>
426                 <args>
427                     <arg name="-s" value="${env.CLDR_DIR}/common/bcp47" />
428                     <arg name="-k" value="${env.CLDR_DIR}/common/bcp47" />
429                     <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
430                 </args>
431             </run>
432         </cldr-build>
433     </target>
434
435         <target name="translit" depends="init,setup" description="builds collation files in ICU text format">
436         <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile=".*txt">
437             <run>
438                 <args>
439                     <arg name="-m" value="((?!.*(Canadian|Ethiopic).*).*)" />
440                     <arg name="--sourcedir" value="${env.CLDR_DIR}/common/transforms" />
441                     <arg name="--destdir"   value="${env.ICU4C_DIR}/source/data/translit"/>
442                     <arg name="--commentSkip"/>
443                 </args>
444                 <!-- http://ant.apache.org/faq.html#xml-entity-include -->
445
446             </run>
447         </cldr-build>
448     </target>
449     <!-- we don't generate en.txt or el.txt - so don't change trnsfiles.mk for now. -->
450 <!--   
451      <target name="trnsfiles" depends="init, setup" description="builds trnsfiles.mk">
452         <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile="trnsfiles.mk" noArgs="true">
453             <run>
454                 <args>   [ double hyphen not allowed in comments - transpose -" to fix below ]
455                     <arg name=-"-sourcedir" value="${env.CLDR_DIR}/common/transforms" />
456                     <arg name=-"-destdir"   value="${env.ICU4C_DIR}/source/data/translit"/>
457                     <arg name=-"-commentSkip"/>
458                     <arg name=-"-writeIndex"/>
459                 </args>
460             </run>
461         </cldr-build>
462     </target> -->
463     <target name="clean" depends="init, setup" description="deletes all txt files and mk files from coll and locales directories">
464         <delete>
465             <fileset id="locales" dir="${env.ICU4C_DIR}/source/data/locales">
466                 <include name="*.txt" />
467             </fileset>
468             <fileset id="resfiles" dir="${env.ICU4C_DIR}/source/data/locales">
469                 <include name="resfiles.mk" />
470             </fileset>
471             <fileset id="locales_split" dir="${env.ICU4C_DIR}/source/data">
472                <include name="curr/*.txt" /> 
473                <include name="curr/resfiles.mk" /> 
474                <include name="lang/*.txt" /> 
475                <include name="lang/resfiles.mk" /> 
476                <include name="region/*.txt" /> 
477                <include name="region/resfiles.mk" /> 
478                <include name="zone/*.txt" /> 
479                <include name="zone/resfiles.mk" /> 
480             </fileset>
481             <fileset id="collation" dir="${env.ICU4C_DIR}/source/data/coll">
482                 <include name="*.txt" />
483             </fileset>
484             <fileset id="colfiles" dir="${env.ICU4C_DIR}/source/data/coll">
485                 <include name="colfiles.mk" />
486             </fileset>
487             <fileset id="translit" dir="${env.ICU4C_DIR}/source/data/translit">
488                 <include name="*_*.txt" />
489                 <include name="root.txt" />
490             </fileset>
491             <fileset id="brkitr" dir="${env.ICU4C_DIR}/source/data/brkitr">
492                 <!-- brkitr directory contains bunch of txt files that are not produced by LDML2ICUConverter.
493                      So can't clean up everything. This needs to be updated when new files are added to xml/brkitr directory -->
494                 <include name="root.txt" />
495                 <include name="el.txt" />
496                 <include name="en.txt" />
497                 <include name="en_US.txt" />
498                 <include name="en_US_POSIX.txt" />
499                 <include name="fi.txt" />
500                 <include name="he.txt" />
501                 <include name="ja.txt" />
502                 <include name="th.txt" />
503             </fileset>
504             <fileset id="brkfiles" dir="${env.ICU4C_DIR}/source/data/brkitr">
505                 <include name="brkfiles.mk" />
506             </fileset>
507             <fileset id="supplementalData" dir="${env.ICU4C_DIR}/source/data/misc">
508                 <include name="supplementalData.txt" />
509             </fileset>
510             <fileset id="rbnf" dir="${env.ICU4C_DIR}/source/data/rbnf">
511                 <include name="*.txt" />
512             </fileset>
513             <fileset id="rbnffiles" dir="${env.ICU4C_DIR}/source/data/rbnf">
514                 <include name="rbnffiles.mk" />
515             </fileset>
516             <fileset id="metaZones" dir="${env.ICU4C_DIR}/source/data/misc">
517                 <include name="metaZones.txt" />
518             </fileset>
519             <fileset id="windowsZones" dir="${env.ICU4C_DIR}/source/data/misc">
520                 <include name="windowsZones.txt" />
521             </fileset>
522             <fileset id="likelySubtags" dir="${env.ICU4C_DIR}/source/data/misc">
523                 <include name="likelySubtags.txt" />
524             </fileset>
525             <fileset id="plurals" dir="${env.ICU4C_DIR}/source/data/misc">
526                 <include name="plurals.txt" />
527             </fileset>
528             <fileset id="numberingSystems" dir="${env.ICU4C_DIR}/source/data/misc">
529                 <include name="numberingSystems.txt" />
530             </fileset>
531             <fileset id="keyTypeData" dir="${env.ICU4C_DIR}/source/data/misc">
532                 <include name="keyTypeData.txt" />
533                 <include name="timezoneTypes.txt" />
534             </fileset>
535         </delete>
536     </target>
537 </project>