| 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 <!ENTITY icu-coll-deprecates SYSTEM "./icu-coll-deprecates.xml"> |
| 5 <!ENTITY icu-rbnf-deprecates SYSTEM "./icu-rbnf-deprecates.xml"> |
| 5 ]> | 6 ]> |
| 6 <!-- | 7 <!-- |
| 7 /* | 8 /* |
| 8 ******************************************************************************* | 9 ******************************************************************************* |
| 9 * Copyright (C) 2005-2014, International Business Machines Corporation and * | 10 * Copyright (C) 2005-2015, International Business Machines Corporation and * |
| 10 * others. All Rights Reserved. * | 11 * others. All Rights Reserved. * |
| 11 ******************************************************************************* | 12 ******************************************************************************* |
| 12 */ | 13 */ |
| 13 --> | 14 --> |
| 14 <project name="icu-build" default="all" basedir="."> | 15 <project name="icu-build" default="all" basedir="."> |
| 15 <target name="init"> | 16 <target name="init"> |
| 16 <tstamp/> | 17 <tstamp/> |
| 17 | 18 |
| 18 <!-- Load environment variables --> | 19 <!-- Load environment variables --> |
| 19 <property environment="env"/> | 20 <property environment="env"/> |
| (...skipping 29 matching lines...) Expand all Loading... |
| 49 <taskdef name="cldr-build" classname="org.unicode.cldr.ant.CLDRBuild"> | 50 <taskdef name="cldr-build" classname="org.unicode.cldr.ant.CLDRBuild"> |
| 50 <classpath> | 51 <classpath> |
| 51 <pathelement path="${java.class.path}/"/> | 52 <pathelement path="${java.class.path}/"/> |
| 52 <pathelement path="${env.CLDR_CLASSES}"/> | 53 <pathelement path="${env.CLDR_CLASSES}"/> |
| 53 <pathelement location="${cldrtools.jar}"/> | 54 <pathelement location="${cldrtools.jar}"/> |
| 54 <fileset dir="${cldrtools.dir}/libs" includes="*.jar"/> | 55 <fileset dir="${cldrtools.dir}/libs" includes="*.jar"/> |
| 55 </classpath> | 56 </classpath> |
| 56 </taskdef> | 57 </taskdef> |
| 57 </target> | 58 </target> |
| 58 <!-- target for generating ICU data --> | 59 <!-- target for generating ICU data --> |
| 59 <target name="all" depends="locales, collation, rbnf, supplementalData, meta
data, metaZones, windowsZones, likelySubtags, plurals, numberingSystems, transli
t, brkitr, keyTypeData, genderList, postalCodeData, dayPeriods" /> | 60 <target name="all" depends="locales, collation, rbnf, supplementalData, meta
data, metaZones, windowsZones, likelySubtags, plurals, numberingSystems, transli
t, brkitr, keyTypeData, genderList, dayPeriods" /> |
| 60 <!-- parallel target --> | 61 <!-- parallel target --> |
| 61 <target name="pall" depends="init"> | 62 <target name="pall" depends="init"> |
| 62 <parallel threadsPerProcessor ="1"> | 63 <parallel threadsPerProcessor ="1"> |
| 63 <sequential> | 64 <sequential> |
| 64 <ant target='locales' /> | 65 <ant target='locales' /> |
| 65 </sequential> | 66 </sequential> |
| 66 <sequential> | 67 <sequential> |
| 67 <ant target='collation'> | 68 <ant target='collation'> |
| 68 </ant> | 69 </ant> |
| 69 </sequential> | 70 </sequential> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 83 <!--<ant target='trnsfiles'></ant> Not ANT-built - see | 84 <!--<ant target='trnsfiles'></ant> Not ANT-built - see |
| 84 note below. --> | 85 note below. --> |
| 85 </sequential> | 86 </sequential> |
| 86 <sequential> | 87 <sequential> |
| 87 <ant target='keyTypeData'/> | 88 <ant target='keyTypeData'/> |
| 88 </sequential> | 89 </sequential> |
| 89 <sequential> | 90 <sequential> |
| 90 <ant target='genderList'/> | 91 <ant target='genderList'/> |
| 91 </sequential> | 92 </sequential> |
| 92 <sequential> | 93 <sequential> |
| 93 <ant target='postalCodeData'/> | |
| 94 </sequential> | |
| 95 <sequential> | |
| 96 <ant target='dayPeriods'/> | 94 <ant target='dayPeriods'/> |
| 97 </sequential> | 95 </sequential> |
| 98 </parallel> | 96 </parallel> |
| 99 </target> | 97 </target> |
| 100 | 98 |
| 101 <target name="locales" depends="init,setup" description="builds locale files
in ICU text format"> | 99 <target name="locales" depends="init,setup" description="builds locale files
in ICU text format"> |
| 102 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> | 100 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile
=".*xml" destFile=".*txt"> |
| 103 <!-- launch the tool and generate the data after reading the config
file --> | 101 <!-- launch the tool and generate the data after reading the config
file --> |
| 104 <run> | 102 <run> |
| 105 <args> | 103 <args> |
| 106 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
main" /> | 104 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
main" /> |
| 107 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/locales"/> | 105 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/locales"/> |
| 108 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/main"/> | 106 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/main"/> |
| 109 <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/
supplemental" /> | 107 <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/
supplemental" /> |
| 110 <arg name="--type" value="locales"/> | 108 <arg name="--type" value="locales"/> |
| 111 <arg name="--makefile" value="resfiles.mk"/> | 109 <arg name="--makefile" value="resfiles.mk"/> |
| 112 </args> | 110 </args> |
| 113 <remapper> | 111 <remapper> |
| 114 <remap sourcePath="/Keys" targetDir="lang" /> | 112 <remap sourcePath="/Keys" targetDir="lang" /> |
| 115 <remap sourcePath="/Languages" targetDir="lang" /> | 113 <remap sourcePath="/Languages" targetDir="lang" /> |
| 116 » » <remap sourcePath="/LanguagesShort" targetDir="lang" /> | 114 » » <remap sourcePath="/Languages%short" targetDir="lang" /> |
| 117 <remap sourcePath="/Languages%secondary" targetDir="lang" /> | 115 <remap sourcePath="/Languages%secondary" targetDir="lang" /> |
| 118 <remap sourcePath="/Languages%variant" targetDir="lang" /> | 116 <remap sourcePath="/Languages%variant" targetDir="lang" /> |
| 119 <remap sourcePath="/Scripts" targetDir="lang" /> | 117 <remap sourcePath="/Scripts" targetDir="lang" /> |
| 120 <remap sourcePath="/Scripts%secondary" targetDir="lang" /> | 118 <remap sourcePath="/Scripts%secondary" targetDir="lang" /> |
| 121 <remap sourcePath="/Scripts%short" targetDir="lang" /> | 119 <remap sourcePath="/Scripts%short" targetDir="lang" /> |
| 122 <remap sourcePath="/Scripts%stand-alone" targetDir="lang" /> | 120 <remap sourcePath="/Scripts%stand-alone" targetDir="lang" /> |
| 123 <remap sourcePath="/Scripts%variant" targetDir="lang" /> | 121 <remap sourcePath="/Scripts%variant" targetDir="lang" /> |
| 124 <remap sourcePath="/Types" targetDir="lang" /> | 122 <remap sourcePath="/Types" targetDir="lang" /> |
| 125 <remap sourcePath="/Types%short" targetDir="lang" /> | 123 <remap sourcePath="/Types%short" targetDir="lang" /> |
| 126 <remap sourcePath="/Variants" targetDir="lang" /> | 124 <remap sourcePath="/Variants" targetDir="lang" /> |
| 127 <remap sourcePath="/Variants%secondary" targetDir="lang" /> | 125 <remap sourcePath="/Variants%secondary" targetDir="lang" /> |
| 128 <remap sourcePath="/codePatterns" targetDir="lang" /> | 126 <remap sourcePath="/codePatterns" targetDir="lang" /> |
| 129 <remap sourcePath="/localeDisplayPattern" targetDir="lang" /> | 127 <remap sourcePath="/localeDisplayPattern" targetDir="lang" /> |
| 130 <remap sourcePath="/Countries" targetDir="region" /> | 128 <remap sourcePath="/Countries" targetDir="region" /> |
| 131 <remap sourcePath="/Countries%variant" targetDir="region" /> | 129 <remap sourcePath="/Countries%variant" targetDir="region" /> |
| 132 » » <remap sourcePath="/CountriesShort" targetDir="region" /> | 130 » » <remap sourcePath="/Countries%short" targetDir="region" /> |
| 133 <remap sourcePath="/Currencies" targetDir="curr" /> | 131 <remap sourcePath="/Currencies" targetDir="curr" /> |
| 134 <remap sourcePath="/Currencies%narrow" targetDir="curr" /> | 132 <remap sourcePath="/Currencies%narrow" targetDir="curr" /> |
| 135 <remap sourcePath="/Currencies%variant" targetDir="curr" /> | 133 <remap sourcePath="/Currencies%variant" targetDir="curr" /> |
| 136 <remap sourcePath="/CurrencyPlurals" targetDir="curr" /> | 134 <remap sourcePath="/CurrencyPlurals" targetDir="curr" /> |
| 137 <remap sourcePath="/CurrencyUnitPatterns" targetDir="curr" /> | 135 <remap sourcePath="/CurrencyUnitPatterns" targetDir="curr" /> |
| 138 <remap sourcePath="/currencySpacing" targetDir="curr" /> | 136 <remap sourcePath="/currencySpacing" targetDir="curr" /> |
| 139 <remap sourcePath="/zoneStrings" targetDir="zone" /> | 137 <remap sourcePath="/zoneStrings" targetDir="zone" /> |
| 138 <remap sourcePath="/durationUnits" targetDir="unit" /> |
| 140 <remap sourcePath="/units" targetDir="unit" /> | 139 <remap sourcePath="/units" targetDir="unit" /> |
| 141 <remap sourcePath="/unitsShort" targetDir="unit" /> | 140 <remap sourcePath="/unitsShort" targetDir="unit" /> |
| 142 <remap sourcePath="/unitsNarrow" targetDir="unit" /> | 141 <remap sourcePath="/unitsNarrow" targetDir="unit" /> |
| 143 </remapper> | 142 </remapper> |
| 144 <!-- http://ant.apache.org/faq.html#xml-entity-include --> | 143 <!-- http://ant.apache.org/faq.html#xml-entity-include --> |
| 145 &icu-config; | 144 &icu-config; |
| 146 &icu-locale-deprecates; | 145 &icu-locale-deprecates; |
| 147 </run> | 146 </run> |
| 148 </cldr-build> | 147 </cldr-build> |
| 149 </target> | 148 </target> |
| (...skipping 18 matching lines...) Expand all Loading... |
| 168 <run> | 167 <run> |
| 169 <args> | 168 <args> |
| 170 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
rbnf" /> | 169 <arg name="--sourcedir" value="${env.CLDR_DIR}/common/
rbnf" /> |
| 171 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/rbnf"/> | 170 <arg name="--destdir" value="${env.ICU4C_DIR}/source
/data/rbnf"/> |
| 172 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/rbnf"/> | 171 <arg name="--specialsdir" value="${env.ICU4C_DIR}/source
/data/xml/rbnf"/> |
| 173 <arg name="--type" value="rbnf" /> | 172 <arg name="--type" value="rbnf" /> |
| 174 <arg name="--makefile" value="rbnffiles.mk"/> | 173 <arg name="--makefile" value="rbnffiles.mk"/> |
| 175 </args> | 174 </args> |
| 176 <!-- http://ant.apache.org/faq.html#xml-entity-include --> | 175 <!-- http://ant.apache.org/faq.html#xml-entity-include --> |
| 177 &icu-config; | 176 &icu-config; |
| 177 &icu-rbnf-deprecates; |
| 178 </run> | 178 </run> |
| 179 </cldr-build> | 179 </cldr-build> |
| 180 </target> | 180 </target> |
| 181 <target name="supplementalData" depends="init,setup" description="builds sup
plementalData.txt from supplementalData.xml"> | 181 <target name="supplementalData" depends="init,setup" description="builds sup
plementalData.txt from supplementalData.xml"> |
| 182 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFil
e="supplementalData.txt" noArgs="true"> | 182 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFil
e="supplementalData.txt" noArgs="true"> |
| 183 <!-- launch the tool and generate the data after reading the config
file --> | 183 <!-- launch the tool and generate the data after reading the config
file --> |
| 184 <run> | 184 <run> |
| 185 <args> | 185 <args> |
| 186 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /
> | 186 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /
> |
| 187 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> | 187 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 <!-- launch the tool and generate the data after reading the config
file --> | 271 <!-- launch the tool and generate the data after reading the config
file --> |
| 272 <run> | 272 <run> |
| 273 <args> | 273 <args> |
| 274 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /
> | 274 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /
> |
| 275 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> | 275 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> |
| 276 <arg name="-t" value="genderList"/> | 276 <arg name="-t" value="genderList"/> |
| 277 </args> | 277 </args> |
| 278 </run> | 278 </run> |
| 279 </cldr-build> | 279 </cldr-build> |
| 280 </target> | 280 </target> |
| 281 <target name="postalCodeData" depends="init,setup" description="builds posta
lCodeData.txt from postalCodeData.xml"> | |
| 282 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFil
e="postalCodeData.txt" noArgs="true"> | |
| 283 <!-- launch the tool and generate the data after reading the config
file --> | |
| 284 <run> | |
| 285 <args> | |
| 286 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /
> | |
| 287 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> | |
| 288 <arg name="-t" value="postalCodeData"/> | |
| 289 </args> | |
| 290 </run> | |
| 291 </cldr-build> | |
| 292 </target> | |
| 293 <target name="dayPeriods" depends="init,setup" description="builds dayPeriod
s.txt from dayPeriods.xml"> | 281 <target name="dayPeriods" depends="init,setup" description="builds dayPeriod
s.txt from dayPeriods.xml"> |
| 294 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFil
e="dayPeriods.txt" noArgs="true"> | 282 <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFil
e="dayPeriods.txt" noArgs="true"> |
| 295 <!-- launch the tool and generate the data after reading the config
file --> | 283 <!-- launch the tool and generate the data after reading the config
file --> |
| 296 <run> | 284 <run> |
| 297 <args> | 285 <args> |
| 298 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /
> | 286 <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" /
> |
| 299 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> | 287 <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/> |
| 300 <arg name="-t" value="dayPeriods"/> | 288 <arg name="-t" value="dayPeriods"/> |
| 301 </args> | 289 </args> |
| 302 </run> | 290 </run> |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 <fileset id="numberingSystems" dir="${env.ICU4C_DIR}/source/data/mis
c"> | 420 <fileset id="numberingSystems" dir="${env.ICU4C_DIR}/source/data/mis
c"> |
| 433 <include name="numberingSystems.txt" /> | 421 <include name="numberingSystems.txt" /> |
| 434 </fileset> | 422 </fileset> |
| 435 <fileset id="keyTypeData" dir="${env.ICU4C_DIR}/source/data/misc"> | 423 <fileset id="keyTypeData" dir="${env.ICU4C_DIR}/source/data/misc"> |
| 436 <include name="keyTypeData.txt" /> | 424 <include name="keyTypeData.txt" /> |
| 437 <include name="timezoneTypes.txt" /> | 425 <include name="timezoneTypes.txt" /> |
| 438 </fileset> | 426 </fileset> |
| 439 <fileset id="genderList" dir="${env.ICU4C_DIR}/source/data/misc"> | 427 <fileset id="genderList" dir="${env.ICU4C_DIR}/source/data/misc"> |
| 440 <include name="genderList.txt" /> | 428 <include name="genderList.txt" /> |
| 441 </fileset> | 429 </fileset> |
| 442 <fileset id="postalCodeData" dir="${env.ICU4C_DIR}/source/data/misc"
> | |
| 443 <include name="postalCodeData.txt" /> | |
| 444 </fileset> | |
| 445 <fileset id="dayPeriods" dir="${env.ICU4C_DIR}/source/data/misc"> | 430 <fileset id="dayPeriods" dir="${env.ICU4C_DIR}/source/data/misc"> |
| 446 <include name="dayPeriods.txt" /> | 431 <include name="dayPeriods.txt" /> |
| 447 </fileset> | 432 </fileset> |
| 448 </delete> | 433 </delete> |
| 449 </target> | 434 </target> |
| 450 </project> | 435 </project> |
| OLD | NEW |