OLD | NEW |
1 <!DOCTYPE project [ | 1 <!DOCTYPE project [ |
2 <!ENTITY icu-config SYSTEM "./icu-config.xml"> | 2 <!ENTITY icu-config SYSTEM "./icu-config.xml"> |
3 <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml"> | 3 <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml"> |
| 4 <!ENTITY icu-coll-deprecates SYSTEM "./icu-coll-deprecates.xml"> |
4 ]> | 5 ]> |
5 <!-- | 6 <!-- |
6 /* | 7 /* |
7 ******************************************************************************* | 8 ******************************************************************************* |
8 * Copyright (C) 2005-2013, International Business Machines Corporation and * | 9 * Copyright (C) 2005-2014, International Business Machines Corporation and * |
9 * others. All Rights Reserved. * | 10 * others. All Rights Reserved. * |
10 ******************************************************************************* | 11 ******************************************************************************* |
11 */ | 12 */ |
12 --> | 13 --> |
13 <project name="icu-build" default="all" basedir="."> | 14 <project name="icu-build" default="all" basedir="."> |
14 <target name="init"> | 15 <target name="init"> |
15 <tstamp/> | 16 <tstamp/> |
16 | 17 |
17 <!-- Load environment variables --> | 18 <!-- Load environment variables --> |
18 <property environment="env"/> | 19 <property environment="env"/> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 <sequential> | 76 <sequential> |
76 <ant target='brkitr'> | 77 <ant target='brkitr'> |
77 </ant> | 78 </ant> |
78 </sequential> | 79 </sequential> |
79 <sequential> | 80 <sequential> |
80 <ant target='translit'> | 81 <ant target='translit'> |
81 </ant> | 82 </ant> |
82 <!--<ant target='trnsfiles'></ant> Not ANT-built - see | 83 <!--<ant target='trnsfiles'></ant> Not ANT-built - see |
83 note below. --> | 84 note below. --> |
84 </sequential> | 85 </sequential> |
| 86 <sequential> |
| 87 <ant target='keyTypeData'/> |
| 88 </sequential> |
| 89 <sequential> |
| 90 <ant target='genderList'/> |
| 91 </sequential> |
| 92 <sequential> |
| 93 <ant target='postalCodeData'/> |
| 94 </sequential> |
| 95 <sequential> |
| 96 <ant target='dayPeriods'/> |
| 97 </sequential> |
85 </parallel> | 98 </parallel> |
86 </target> | 99 </target> |
87 | 100 |
88 <target name="locales" depends="init,setup" description="builds locale files
in ICU text format"> | 101 <target name="locales" depends="init,setup" description="builds locale files
in ICU text format"> |
89 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> | 102 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> |
90 <!-- launch the tool and generate the data after reading the config
file --> | 103 <!-- launch the tool and generate the data after reading the config
file --> |
91 <run> | 104 <run> |
92 <args> | 105 <args> |
93 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
main" /> | 106 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
main" /> |
94 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/locales"/> | 107 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/locales"/> |
95 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/main"/> | 108 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/main"/> |
96 <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/
supplemental" /> | 109 <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/
supplemental" /> |
97 <arg name="--type" value="locales"/> | 110 <arg name="--type" value="locales"/> |
98 <arg name="--makefile" value="resfiles.mk"/> | 111 <arg name="--makefile" value="resfiles.mk"/> |
99 </args> | 112 </args> |
100 <remapper> | 113 <remapper> |
101 <remap sourcePath="/Keys" targetDir="lang" /> | 114 <remap sourcePath="/Keys" targetDir="lang" /> |
102 <remap sourcePath="/Languages" targetDir="lang" /> | 115 <remap sourcePath="/Languages" targetDir="lang" /> |
103 <remap sourcePath="/LanguagesShort" targetDir="lang" /> | 116 <remap sourcePath="/LanguagesShort" targetDir="lang" /> |
| 117 <remap sourcePath="/Languages%secondary" targetDir="lang" /> |
| 118 <remap sourcePath="/Languages%variant" targetDir="lang" /> |
104 <remap sourcePath="/Scripts" targetDir="lang" /> | 119 <remap sourcePath="/Scripts" targetDir="lang" /> |
| 120 <remap sourcePath="/Scripts%secondary" targetDir="lang" /> |
| 121 <remap sourcePath="/Scripts%short" targetDir="lang" /> |
105 <remap sourcePath="/Scripts%stand-alone" targetDir="lang" /> | 122 <remap sourcePath="/Scripts%stand-alone" targetDir="lang" /> |
| 123 <remap sourcePath="/Scripts%variant" targetDir="lang" /> |
106 <remap sourcePath="/Types" targetDir="lang" /> | 124 <remap sourcePath="/Types" targetDir="lang" /> |
| 125 <remap sourcePath="/Types%short" targetDir="lang" /> |
107 <remap sourcePath="/Variants" targetDir="lang" /> | 126 <remap sourcePath="/Variants" targetDir="lang" /> |
| 127 <remap sourcePath="/Variants%secondary" targetDir="lang" /> |
108 <remap sourcePath="/codePatterns" targetDir="lang" /> | 128 <remap sourcePath="/codePatterns" targetDir="lang" /> |
109 <remap sourcePath="/localeDisplayPattern" targetDir="lang" /> | 129 <remap sourcePath="/localeDisplayPattern" targetDir="lang" /> |
110 <remap sourcePath="/Countries" targetDir="region" /> | 130 <remap sourcePath="/Countries" targetDir="region" /> |
| 131 <remap sourcePath="/Countries%variant" targetDir="region" /> |
111 <remap sourcePath="/CountriesShort" targetDir="region" /> | 132 <remap sourcePath="/CountriesShort" targetDir="region" /> |
112 <remap sourcePath="/Currencies" targetDir="curr" /> | 133 <remap sourcePath="/Currencies" targetDir="curr" /> |
| 134 <remap sourcePath="/Currencies%narrow" targetDir="curr" /> |
| 135 <remap sourcePath="/Currencies%variant" targetDir="curr" /> |
113 <remap sourcePath="/CurrencyPlurals" targetDir="curr" /> | 136 <remap sourcePath="/CurrencyPlurals" targetDir="curr" /> |
114 <remap sourcePath="/CurrencyUnitPatterns" targetDir="curr" /> | 137 <remap sourcePath="/CurrencyUnitPatterns" targetDir="curr" /> |
115 <remap sourcePath="/currencySpacing" targetDir="curr" /> | 138 <remap sourcePath="/currencySpacing" targetDir="curr" /> |
116 <remap sourcePath="/zoneStrings" targetDir="zone" /> | 139 <remap sourcePath="/zoneStrings" targetDir="zone" /> |
| 140 <remap sourcePath="/units" targetDir="unit" /> |
| 141 <remap sourcePath="/unitsShort" targetDir="unit" /> |
| 142 <remap sourcePath="/unitsNarrow" targetDir="unit" /> |
117 </remapper> | 143 </remapper> |
118 <!-- http://ant.apache.org/faq.html#xml-entity-include --> | 144 <!-- http://ant.apache.org/faq.html#xml-entity-include --> |
119 &icu-config; | 145 &icu-config; |
120 &icu-locale-deprecates; | 146 &icu-locale-deprecates; |
121 </run> | 147 </run> |
122 </cldr-build> | 148 </cldr-build> |
123 </target> | 149 </target> |
124 <target name="collation" depends="init,setup" description="builds collation
files in ICU text format"> | 150 <target name="collation" depends="init,setup" description="builds collation
files in ICU text format"> |
125 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> | 151 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> |
126 <run> | 152 <run> |
127 <args> | 153 <args> |
128 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
collation" /> | 154 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
collation" /> |
129 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/coll"/> | 155 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/coll"/> |
130 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/collation"/> | 156 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/collation"/> |
131 <arg name="--type" value="collation"/> | 157 <arg name="--type" value="collation"/> |
132 <arg name="--makefile" value="colfiles.mk"/> | 158 <arg name="--makefile" value="colfiles.mk"/> |
133 </args> | 159 </args> |
134 <!-- http://ant.apache.org/faq.html#xml-entity-include --> | 160 <!-- http://ant.apache.org/faq.html#xml-entity-include --> |
135 &icu-config; | 161 &icu-config; |
136 <deprecates> | 162 &icu-coll-deprecates; |
137 <alias from="de__PHONEBOOK" to="de" rbpath="/collations/def
ault" value="phonebook"/> | |
138 <alias from="es__TRADITIONAL" to="es" rbpath="/collations/de
fault" value="traditional"/> | |
139 <alias from="in" to="id" /> | |
140 <alias from="in_ID" to="id_ID" /> | |
141 <alias from="iw" to="he" /> | |
142 <alias from="iw_IL" to="he_IL" /> | |
143 <alias from="mo" to="ro_MD" /> | |
144 <alias from="no" to="nb" /> | |
145 <alias from="no_NO" to="nb_NO" /> | |
146 <alias from="pa_IN" to="pa_Guru_IN" /> | |
147 <alias from="sh" to="sr_Latn" /> | |
148 <alias from="sh_BA" to="sr_Latn_BA" /> | |
149 <alias from="sh_CS" to="sr_Latn_RS" /> | |
150 <alias from="sh_YU" to="sr_Latn_RS" /> | |
151 <alias from="sr_BA" to="sr_Cyrl_BA" /> | |
152 <alias from="sr_ME" to="sr_Cyrl_ME" /> | |
153 <alias from="sr_RS" to="sr_Cyrl_RS" /> | |
154 <alias from="zh_CN" to="zh_Hans_CN" /> | |
155 <alias from="zh_SG" to="zh_Hans_SG" /> | |
156 <alias from="zh_HK" to="zh_Hant_HK" /> | |
157 <alias from="zh_MO" to="zh_Hant_MO" /> | |
158 <alias from="zh_TW" to="zh_Hant_TW" /> | |
159 <emptyLocale locale="de_" /> | |
160 <emptyLocale locale="es_" /> | |
161 </deprecates> | |
162 </run> | 163 </run> |
163 </cldr-build> | 164 </cldr-build> |
164 </target> | 165 </target> |
165 <target name="rbnf" depends="init,setup" description="builds rbnf files in I
CU text format"> | 166 <target name="rbnf" depends="init,setup" description="builds rbnf files in I
CU text format"> |
166 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> | 167 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> |
167 <run> | 168 <run> |
168 <args> | 169 <args> |
169 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
rbnf" /> | 170 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
rbnf" /> |
170 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/rbnf"/> | 171 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/rbnf"/> |
171 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/rbnf"/> | 172 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/rbnf"/> |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> | 299 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> |
299 <arg name="-t" value="dayPeriods"/> | 300 <arg name="-t" value="dayPeriods"/> |
300 </args> | 301 </args> |
301 </run> | 302 </run> |
302 </cldr-build> | 303 </cldr-build> |
303 </target> | 304 </target> |
304 <target name="brkitr" depends="init,setup" description="builds break iterato
r files in ICU text format"> | 305 <target name="brkitr" depends="init,setup" description="builds break iterato
r files in ICU text format"> |
305 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> | 306 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> |
306 <run> | 307 <run> |
307 <args> | 308 <args> |
308 <arg name="--sourcedir" value="${env.ICU4C_DIR}/source
/data/xml/brkitr"/> | 309 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
segments"/> |
| 310 » » » » » <arg name="--specialsdir" value="$
{env.ICU4C_DIR}/source/data/xml/brkitr"/> |
309 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/brkitr"/> | 311 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/brkitr"/> |
310 <arg name="--type" value="brkitr" /> | 312 <arg name="--type" value="brkitr" /> |
311 <arg name="--makefile" value="brkfiles.mk"/> | 313 <arg name="--makefile" value="brkfiles.mk"/> |
312 </args> | 314 </args> |
313 <!-- The entity include is not required for this target --> | 315 <!-- The entity include is not required for this target --> |
314 <!-- http://ant.apache.org/faq.html#xml-entity-include | 316 <!-- http://ant.apache.org/faq.html#xml-entity-include |
315 &icu-config; | 317 &icu-config; |
316 --> | 318 --> |
317 </run> | 319 </run> |
318 </cldr-build> | 320 </cldr-build> |
319 </target> | 321 </target> |
320 | 322 |
321 <target name="keyTypeData" depends="init,setup" description="builds keyTypeD
ata.txt and timezoneTypes.txt from bcp47/*.xml"> | 323 <target name="keyTypeData" depends="init,setup" description="builds keyTypeD
ata.txt and timezoneTypes.txt from bcp47/*.xml"> |
322 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" noArgs=
"true"> | 324 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" noArgs=
"true"> |
323 <run> | 325 <run> |
324 <args> | 326 <args> |
325 <arg name="-s" value="${env.CLDR_DIR}/common/bcp47" /> | 327 <arg name="-s" value="${env.CLDR_DIR}/common/bcp47" /> |
326 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> | 328 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> |
327 <arg name="-t" value="keyTypeData"/> | 329 <arg name="-t" value="keyTypeData"/> |
328 </args> | 330 </args> |
329 </run> | 331 </run> |
330 </cldr-build> | 332 </cldr-build> |
331 </target> | 333 </target> |
332 | 334 |
333 <target name="translit" depends="init,setup" description="builds collati
on files in ICU text format"> | 335 <target name="translit" depends="init,setup" description="builds collation f
iles in ICU text format"> |
334 <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".
*xml" destFile=".*txt"> | 336 <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".
*xml" destFile=".*txt"> |
335 <run> | 337 <run> |
336 <args> | 338 <args> |
337 <arg name="-m" value="((?!.*(Canadian|Ethiopic).*).*)" /> | 339 <arg name="-m" value="((?!.*(Canadian|Ethiopic|ug-Latin).*).
*)" /> |
338 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/transf
orms" /> | 340 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/transf
orms" /> |
339 <arg name="--destdir" value="${env.ICU4C_DIR}/source/data/
translit"/> | 341 <arg name="--destdir" value="${env.ICU4C_DIR}/source/data/
translit"/> |
340 <arg name="--commentSkip"/> | 342 <arg name="--commentSkip"/> |
341 </args> | 343 </args> |
342 <!-- http://ant.apache.org/faq.html#xml-entity-include --> | 344 <!-- http://ant.apache.org/faq.html#xml-entity-include --> |
343 | 345 |
344 </run> | 346 </run> |
345 </cldr-build> | 347 </cldr-build> |
346 </target> | 348 </target> |
347 <!-- we don't generate en.txt or el.txt - so don't change trnsfiles.mk for n
ow. --> | 349 <!-- we don't generate en.txt or el.txt - so don't change trnsfiles.mk for n
ow. --> |
(...skipping 20 matching lines...) Expand all Loading... |
368 </fileset> | 370 </fileset> |
369 <fileset id="locales_split" dir="${env.ICU4C_DIR}/source/data"> | 371 <fileset id="locales_split" dir="${env.ICU4C_DIR}/source/data"> |
370 <include name="curr/*.txt" /> | 372 <include name="curr/*.txt" /> |
371 <include name="curr/resfiles.mk" /> | 373 <include name="curr/resfiles.mk" /> |
372 <include name="lang/*.txt" /> | 374 <include name="lang/*.txt" /> |
373 <include name="lang/resfiles.mk" /> | 375 <include name="lang/resfiles.mk" /> |
374 <include name="region/*.txt" /> | 376 <include name="region/*.txt" /> |
375 <include name="region/resfiles.mk" /> | 377 <include name="region/resfiles.mk" /> |
376 <include name="zone/*.txt" /> | 378 <include name="zone/*.txt" /> |
377 <include name="zone/resfiles.mk" /> | 379 <include name="zone/resfiles.mk" /> |
| 380 <exclude name="zone/tzdbNames.txt" /> |
| 381 <include name="unit/*.txt" /> |
| 382 <include name="unit/resfiles.mk" /> |
378 </fileset> | 383 </fileset> |
379 <fileset id="collation" dir="${env.ICU4C_DIR}/source/data/coll"> | 384 <fileset id="collation" dir="${env.ICU4C_DIR}/source/data/coll"> |
380 <include name="*.txt" /> | 385 <include name="*.txt" /> |
381 </fileset> | 386 </fileset> |
382 <fileset id="colfiles" dir="${env.ICU4C_DIR}/source/data/coll"> | 387 <fileset id="colfiles" dir="${env.ICU4C_DIR}/source/data/coll"> |
383 <include name="colfiles.mk" /> | 388 <include name="colfiles.mk" /> |
384 </fileset> | 389 </fileset> |
385 <fileset id="translit" dir="${env.ICU4C_DIR}/source/data/translit"> | 390 <fileset id="translit" dir="${env.ICU4C_DIR}/source/data/translit"> |
386 <include name="*_*.txt" /> | 391 <include name="*_*.txt" /> |
387 <include name="root.txt" /> | 392 <include name="root.txt" /> |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 </fileset> | 441 </fileset> |
437 <fileset id="postalCodeData" dir="${env.ICU4C_DIR}/source/data/misc"
> | 442 <fileset id="postalCodeData" dir="${env.ICU4C_DIR}/source/data/misc"
> |
438 <include name="postalCodeData.txt" /> | 443 <include name="postalCodeData.txt" /> |
439 </fileset> | 444 </fileset> |
440 <fileset id="dayPeriods" dir="${env.ICU4C_DIR}/source/data/misc"> | 445 <fileset id="dayPeriods" dir="${env.ICU4C_DIR}/source/data/misc"> |
441 <include name="dayPeriods.txt" /> | 446 <include name="dayPeriods.txt" /> |
442 </fileset> | 447 </fileset> |
443 </delete> | 448 </delete> |
444 </target> | 449 </target> |
445 </project> | 450 </project> |
OLD | NEW |