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-2011, 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, metadata, 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 &icu-config; 303 </run> 304 </cldr-build> 305 </target> 306 <target name="supplementalData" depends="init,setup" description="builds supplementalData.txt from supplementalData.xml"> 307 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="supplementalData.txt" noArgs="true"> 308 <!-- launch the tool and generate the data after reading the config file --> 309 <run> 310 <args> 311 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /> 312 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 313 <arg name="-l"/> 314 <arg name="-f"/> 315 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 316 </args> 317 <remapper> 318 <remap sourcePath="/CurrencyMap" targetDir="curr" /> 319 <remap sourcePath="/CurrencyMeta" targetDir="curr" /> 320 </remapper> 321 </run> 322 </cldr-build> 323 </target> 324 <target name="metadata" depends="init,setup" description="builds metadata.txt from supplementalMetadata.xml"> 325 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="metadata.txt" noArgs="true"> 326 <!-- launch the tool and generate the data after reading the config file --> 327 <run> 328 <args> 329 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /> 330 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 331 <arg name="-q"/> 332 <arg name="-f"/> 333 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 334 </args> 335 </run> 336 </cldr-build> 337 </target> 338 <target name="metaZones" depends="init,setup" description="builds metaZones.txt from metaZones.xml"> 339 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="metaZones.txt" noArgs="true"> 340 <!-- launch the tool and generate the data after reading the config file --> 341 <run> 342 <args> 343 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /> 344 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 345 <arg name="-z"/> 346 <arg name="-f"/> 347 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 348 </args> 349 </run> 350 </cldr-build> 351 </target> 352 <target name="windowsZones" depends="init,setup" description="builds windowsZones.txt from windowsZones.xml"> 353 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="windowsZones.txt" noArgs="true"> 354 <!-- launch the tool and generate the data after reading the config file --> 355 <run> 356 <args> 357 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /> 358 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 359 <arg name="-i"/> 360 <arg name="-f"/> 361 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 362 </args> 363 </run> 364 </cldr-build> 365 </target> 366 <target name="likelySubtags" depends="init,setup" description="builds likelySubtags.txt from likelySubtags.xml"> 367 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="likelySubtags.txt" noArgs="true"> 368 <!-- launch the tool and generate the data after reading the config file --> 369 <run> 370 <args> 371 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /> 372 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 373 <arg name="-t"/> 374 <arg name="-f"/> 375 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 376 </args> 377 </run> 378 </cldr-build> 379 </target> 380 <target name="plurals" depends="init,setup" description="builds plurals.txt from plurals.xml"> 381 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="plurals.txt" noArgs="true"> 382 <!-- launch the tool and generate the data after reading the config file --> 383 <run> 384 <args> 385 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /> 386 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 387 <arg name="-r"/> 388 <arg name="-f"/> 389 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 390 </args> 391 </run> 392 </cldr-build> 393 </target> 394 <target name="numberingSystems" depends="init,setup" description="builds numberingSystems.txt from numberingSystems.xml"> 395 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="numberingSystems.txt" noArgs="true"> 396 <!-- launch the tool and generate the data after reading the config file --> 397 <run> 398 <args> 399 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /> 400 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 401 <arg name="-n"/> 402 <arg name="-f"/> 403 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 404 </args> 405 </run> 406 </cldr-build> 407 </target> 408 <target name="brkitr" depends="init,setup" description="builds break iterator files in ICU text format"> 409 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" srcFile=".*xml" destFile=".*txt"> 410 <run> 411 <args> 412 <arg name="--sourcedir" value="${env.ICU4C_DIR}/source/data/xml/brkitr"/> 413 <arg name="--destdir" value="${env.ICU4C_DIR}/source/data/brkitr"/> 414 <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" /> 415 </args> 416 <!-- The entity include is not required for this target --> 417 <!-- http://ant.apache.org/faq.html#xml-entity-include 418 &icu-config; 419 --> 420 </run> 421 </cldr-build> 422 </target> 423 <target name="brkfiles" depends="init, setup" description="builds brkfiles.mk"> 424 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" destFile="brkfiles.mk" noArgs="true"> 425 <!-- launch the tool and generate the data after reading the config file --> 426 <run> 427 <args> 428 <arg name="-s" value="${env.ICU4C_DIR}/source/data/xml/brkitr" /> 429 <arg name="-d" value="${env.ICU4C_DIR}/source/data/brkitr"/> 430 <arg name="-m" value="${env.CLDR_DIR}/common/supplemental" /> 431 <arg name="-w" value="${env.ICU4C_DIR}/source/data/xml/brkitr" /> 432 </args> 433 </run> 434 </cldr-build> 435 </target> 436 437 <target name="keyTypeData" depends="init,setup" description="builds keyTypeData.txt and timezoneTypes.txt from bcp47/*.xml"> 438 <cldr-build toolName="org.unicode.cldr.icu.LDML2ICUConverter" noArgs="true"> 439 <!-- launch the tool and generate the data after reading the config file --> 440 <run> 441 <args> 442 <arg name="-s" value="${env.CLDR_DIR}/common/bcp47" /> 443 <arg name="-k" value="${env.CLDR_DIR}/common/bcp47" /> 444 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> 445 </args> 446 </run> 447 </cldr-build> 448 </target> 449 450 <target name="translit" depends="init,setup" description="builds collation files in ICU text format"> 451 <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile=".*txt"> 452 <run> 453 <args> 454 <arg name="-m" value="((?!.*(Canadian|Ethiopic).*).*)" /> 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 </args> 459 <!-- http://ant.apache.org/faq.html#xml-entity-include --> 460 461 </run> 462 </cldr-build> 463 </target> 464 <!-- we don't generate en.txt or el.txt - so don't change trnsfiles.mk for now. --> 465 <!-- 466 <target name="trnsfiles" depends="init, setup" description="builds trnsfiles.mk"> 467 <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile="trnsfiles.mk" noArgs="true"> 468 <run> 469 <args> [ double hyphen not allowed in comments - transpose -" to fix below ] 470 <arg name=-"-sourcedir" value="${env.CLDR_DIR}/common/transforms" /> 471 <arg name=-"-destdir" value="${env.ICU4C_DIR}/source/data/translit"/> 472 <arg name=-"-commentSkip"/> 473 <arg name=-"-writeIndex"/> 474 </args> 475 </run> 476 </cldr-build> 477 </target> --> 478 <target name="clean" depends="init, setup" description="deletes all txt files and mk files from coll and locales directories"> 479 <delete> 480 <fileset id="locales" dir="${env.ICU4C_DIR}/source/data/locales"> 481 <include name="*.txt" /> 482 </fileset> 483 <fileset id="resfiles" dir="${env.ICU4C_DIR}/source/data/locales"> 484 <include name="resfiles.mk" /> 485 </fileset> 486 <fileset id="locales_split" dir="${env.ICU4C_DIR}/source/data"> 487 <include name="curr/*.txt" /> 488 <include name="curr/resfiles.mk" /> 489 <include name="lang/*.txt" /> 490 <include name="lang/resfiles.mk" /> 491 <include name="region/*.txt" /> 492 <include name="region/resfiles.mk" /> 493 <include name="zone/*.txt" /> 494 <include name="zone/resfiles.mk" /> 495 </fileset> 496 <fileset id="collation" dir="${env.ICU4C_DIR}/source/data/coll"> 497 <include name="*.txt" /> 498 </fileset> 499 <fileset id="colfiles" dir="${env.ICU4C_DIR}/source/data/coll"> 500 <include name="colfiles.mk" /> 501 </fileset> 502 <fileset id="translit" dir="${env.ICU4C_DIR}/source/data/translit"> 503 <include name="*_*.txt" /> 504 <include name="root.txt" /> 505 </fileset> 506 <fileset id="brkitr" dir="${env.ICU4C_DIR}/source/data/brkitr"> 507 <!-- brkitr directory contains bunch of txt files that are not produced by LDML2ICUConverter. 508 So can't clean up everything. This needs to be updated when new files are added to xml/brkitr directory --> 509 <include name="root.txt" /> 510 <include name="el.txt" /> 511 <include name="en.txt" /> 512 <include name="en_US.txt" /> 513 <include name="en_US_POSIX.txt" /> 514 <include name="fi.txt" /> 515 <include name="he.txt" /> 516 <include name="ja.txt" /> 517 <include name="th.txt" /> 518 </fileset> 519 <fileset id="brkfiles" dir="${env.ICU4C_DIR}/source/data/brkitr"> 520 <include name="brkfiles.mk" /> 521 </fileset> 522 <fileset id="supplementalData" dir="${env.ICU4C_DIR}/source/data/misc"> 523 <include name="supplementalData.txt" /> 524 </fileset> 525 <fileset id="rbnf" dir="${env.ICU4C_DIR}/source/data/rbnf"> 526 <include name="*.txt" /> 527 </fileset> 528 <fileset id="rbnffiles" dir="${env.ICU4C_DIR}/source/data/rbnf"> 529 <include name="rbnffiles.mk" /> 530 </fileset> 531 <fileset id="metadata" dir="${env.ICU4C_DIR}/source/data/misc"> 532 <include name="metadata.txt" /> 533 </fileset> 534 <fileset id="metaZones" dir="${env.ICU4C_DIR}/source/data/misc"> 535 <include name="metaZones.txt" /> 536 </fileset> 537 <fileset id="windowsZones" dir="${env.ICU4C_DIR}/source/data/misc"> 538 <include name="windowsZones.txt" /> 539 </fileset> 540 <fileset id="likelySubtags" dir="${env.ICU4C_DIR}/source/data/misc"> 541 <include name="likelySubtags.txt" /> 542 </fileset> 543 <fileset id="plurals" dir="${env.ICU4C_DIR}/source/data/misc"> 544 <include name="plurals.txt" /> 545 </fileset> 546 <fileset id="numberingSystems" dir="${env.ICU4C_DIR}/source/data/misc"> 547 <include name="numberingSystems.txt" /> 548 </fileset> 549 <fileset id="keyTypeData" dir="${env.ICU4C_DIR}/source/data/misc"> 550 <include name="keyTypeData.txt" /> 551 <include name="timezoneTypes.txt" /> 552 </fileset> 553 </delete> 554 </target> 555 </project> 556