intl/icu/source/data/build.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/icu/source/data/build.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,445 @@
     1.4 +<!DOCTYPE project [
     1.5 +    <!ENTITY icu-config SYSTEM "./icu-config.xml">
     1.6 +    <!ENTITY icu-locale-deprecates SYSTEM "./icu-locale-deprecates.xml">
     1.7 +]>
     1.8 +<!--
     1.9 +/*
    1.10 +*******************************************************************************
    1.11 +* Copyright (C) 2005-2013, International Business Machines Corporation and    *
    1.12 +* others. All Rights Reserved.                                                *
    1.13 +*******************************************************************************
    1.14 +*/
    1.15 +-->
    1.16 +<project name="icu-build" default="all" basedir=".">
    1.17 +    <target name="init">
    1.18 +        <tstamp/>
    1.19 +
    1.20 +        <!-- Load environment variables -->
    1.21 +        <property environment="env"/>
    1.22 +
    1.23 +    	<!-- Ant won't set properties that have already been set, so environment variables that have been set before won't be clobbered. -->
    1.24 +    	<property name="env.ICU4C_DIR" location="../.."/>
    1.25 +
    1.26 +    	<condition property="is.cldr.dir.set" >
    1.27 +            <isset property="env.CLDR_DIR" />
    1.28 +        </condition >
    1.29 +        <fail unless="is.cldr.dir.set" message="Please set the CLDR_DIR environment variable to the top level ICU source dir (containing 'common')."/>
    1.30 +
    1.31 +        <available property="cldrtools.dir" value="${env.CLDR_DIR}/cldr-tools" file="${env.CLDR_DIR}/cldr-tools" type="dir"/>
    1.32 +        <available property="cldrtools.dir" value="${env.CLDR_DIR}/tools/java" file="${env.CLDR_DIR}/tools/java" type="dir"/>
    1.33 +        <fail unless="cldrtools.dir" message="Please make sure that the CLDR tools directory is checked out into CLDR_DIR"/>
    1.34 +
    1.35 +        <available property="env.CLDR_CLASSES" value="${cldrtools.dir}/classes" file="${cldrtools.dir}/classes" type="dir"/>
    1.36 +        <available property="cldrtools.jar" value="${cldrtools.dir}/cldr.jar" file="${cldrtools.dir}/cldr.jar" type="file"/>
    1.37 +        <condition property="is.cldr.classes.set">
    1.38 +            <or>
    1.39 +                <isset property="env.CLDR_CLASSES" />
    1.40 +                <isset property="cldrtools.jar" />
    1.41 +            </or>
    1.42 +        </condition>
    1.43 +        <fail unless="is.cldr.classes.set" message="CLDR classes not found in ${cldrtools.dir}. Please either set the CLDR_CLASSES environment variable or build cldr.jar."/>
    1.44 +
    1.45 +    	<echo message="java home: ${java.home}"/>
    1.46 +        <echo message="java version: ${java.version}"/>
    1.47 +        <echo message="ant java version: ${ant.java.version}"/>
    1.48 +        <echo message="${ant.version}"/>
    1.49 +    </target>
    1.50 +    <target name="setup">
    1.51 +        <taskdef name="cldr-build" classname="org.unicode.cldr.ant.CLDRBuild">
    1.52 +            <classpath>
    1.53 +                <pathelement path="${java.class.path}/"/>
    1.54 +                <pathelement path="${env.CLDR_CLASSES}"/>
    1.55 +                <pathelement location="${cldrtools.jar}"/>
    1.56 +                <fileset dir="${cldrtools.dir}/libs" includes="*.jar"/>
    1.57 +            </classpath>
    1.58 +        </taskdef>
    1.59 +    </target>
    1.60 +    <!-- target for generating ICU data -->
    1.61 +    <target name="all" depends="locales, collation, rbnf, supplementalData, metadata, metaZones, windowsZones, likelySubtags, plurals, numberingSystems, translit, brkitr, keyTypeData, genderList, postalCodeData, dayPeriods" />
    1.62 +    <!-- parallel target -->
    1.63 +    <target name="pall" depends="init">
    1.64 +        <parallel threadsPerProcessor ="1">
    1.65 +          <sequential>
    1.66 +            <ant target='locales' />
    1.67 +          </sequential>
    1.68 +          <sequential>
    1.69 +            <ant target='collation'>
    1.70 +            </ant>
    1.71 +          </sequential>
    1.72 +          <sequential>
    1.73 +            <ant target='rbnf'>
    1.74 +            </ant>
    1.75 +          </sequential>
    1.76 +          <ant target='supplementalData'>
    1.77 +          </ant>
    1.78 +          <sequential>
    1.79 +            <ant target='brkitr'>
    1.80 +            </ant>
    1.81 +          </sequential>
    1.82 +          <sequential>
    1.83 +            <ant target='translit'>
    1.84 +            </ant>
    1.85 +            <!--<ant target='trnsfiles'></ant> Not ANT-built - see
    1.86 +            note below. -->
    1.87 +          </sequential>
    1.88 +        </parallel>
    1.89 +     </target>
    1.90 +
    1.91 +    <target name="locales" depends="init,setup" description="builds locale files in ICU text format">
    1.92 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile=".*xml" destFile=".*txt">
    1.93 +            <!-- launch the tool and generate the data after reading the config file -->
    1.94 +            <run>
    1.95 +                <args>
    1.96 +                    <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/main" />
    1.97 +                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/locales"/>
    1.98 +                    <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/main"/>
    1.99 +                    <arg name="--supplementaldir" value="${env.CLDR_DIR}/common/supplemental" />
   1.100 +                    <arg name="--type" value="locales"/>
   1.101 +                    <arg name="--makefile" value="resfiles.mk"/>
   1.102 +                </args>
   1.103 +		<remapper>
   1.104 +		  <remap sourcePath="/Keys" targetDir="lang" />
   1.105 +		  <remap sourcePath="/Languages" targetDir="lang" />
   1.106 +		  <remap sourcePath="/LanguagesShort" targetDir="lang" />
   1.107 +		  <remap sourcePath="/Scripts" targetDir="lang" />
   1.108 +		  <remap sourcePath="/Scripts%stand-alone" targetDir="lang" />
   1.109 +		  <remap sourcePath="/Types" targetDir="lang" />
   1.110 +		  <remap sourcePath="/Variants" targetDir="lang" />
   1.111 +		  <remap sourcePath="/codePatterns" targetDir="lang" />
   1.112 +		  <remap sourcePath="/localeDisplayPattern" targetDir="lang" />
   1.113 +		  <remap sourcePath="/Countries" targetDir="region" />
   1.114 +		  <remap sourcePath="/CountriesShort" targetDir="region" />
   1.115 +		  <remap sourcePath="/Currencies" targetDir="curr" />
   1.116 +		  <remap sourcePath="/CurrencyPlurals" targetDir="curr" />
   1.117 +		  <remap sourcePath="/CurrencyUnitPatterns" targetDir="curr" />
   1.118 +		  <remap sourcePath="/currencySpacing" targetDir="curr" />
   1.119 +		  <remap sourcePath="/zoneStrings" targetDir="zone" />
   1.120 +		</remapper>
   1.121 +                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
   1.122 +                &icu-config;
   1.123 +        		&icu-locale-deprecates;
   1.124 +            </run>
   1.125 +        </cldr-build>
   1.126 +    </target>
   1.127 +    <target name="collation" depends="init,setup" description="builds collation files in ICU text format">
   1.128 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile=".*xml" destFile=".*txt">
   1.129 +            <run>
   1.130 +                <args>
   1.131 +                    <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/collation" />
   1.132 +                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/coll"/>
   1.133 +                    <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/collation"/>
   1.134 +                    <arg name="--type"            value="collation"/>
   1.135 +                    <arg name="--makefile" value="colfiles.mk"/>
   1.136 +                </args>
   1.137 +                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
   1.138 +                &icu-config;
   1.139 +                <deprecates>
   1.140 +                    <alias from="de__PHONEBOOK" to="de"  rbpath="/collations/default" value="phonebook"/>
   1.141 +                    <alias from="es__TRADITIONAL" to="es" rbpath="/collations/default" value="traditional"/>
   1.142 +                    <alias from="in" to="id" />
   1.143 +                    <alias from="in_ID" to="id_ID" />
   1.144 +                    <alias from="iw" to="he" />
   1.145 +                    <alias from="iw_IL" to="he_IL" />
   1.146 +                    <alias from="mo" to="ro_MD" />
   1.147 +                    <alias from="no" to="nb" />
   1.148 +                    <alias from="no_NO" to="nb_NO" />
   1.149 +                    <alias from="pa_IN" to="pa_Guru_IN" />
   1.150 +                    <alias from="sh" to="sr_Latn" />
   1.151 +                    <alias from="sh_BA" to="sr_Latn_BA" />
   1.152 +                    <alias from="sh_CS" to="sr_Latn_RS" />
   1.153 +                    <alias from="sh_YU" to="sr_Latn_RS" />
   1.154 +                    <alias from="sr_BA" to="sr_Cyrl_BA" />
   1.155 +                    <alias from="sr_ME" to="sr_Cyrl_ME" />
   1.156 +                    <alias from="sr_RS" to="sr_Cyrl_RS" />
   1.157 +                    <alias from="zh_CN" to="zh_Hans_CN" />
   1.158 +                    <alias from="zh_SG" to="zh_Hans_SG" />
   1.159 +                    <alias from="zh_HK" to="zh_Hant_HK" />
   1.160 +                    <alias from="zh_MO" to="zh_Hant_MO" />
   1.161 +                    <alias from="zh_TW" to="zh_Hant_TW" />
   1.162 +                    <emptyLocale locale="de_" />
   1.163 +                    <emptyLocale locale="es_" />
   1.164 +                </deprecates>
   1.165 +            </run>
   1.166 +        </cldr-build>
   1.167 +    </target>
   1.168 +    <target name="rbnf" depends="init,setup" description="builds rbnf files in ICU text format">
   1.169 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile=".*xml" destFile=".*txt">
   1.170 +            <run>
   1.171 +                <args>
   1.172 +                    <arg name="--sourcedir"       value="${env.CLDR_DIR}/common/rbnf" />
   1.173 +                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/rbnf"/>
   1.174 +                    <arg name="--specialsdir"     value="${env.ICU4C_DIR}/source/data/xml/rbnf"/>
   1.175 +                    <arg name="--type" value="rbnf" />
   1.176 +                    <arg name="--makefile" value="rbnffiles.mk"/>
   1.177 +                </args>
   1.178 +                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
   1.179 +                &icu-config;
   1.180 +            </run>
   1.181 +        </cldr-build>
   1.182 +    </target>
   1.183 +    <target name="supplementalData" depends="init,setup" description="builds supplementalData.txt from supplementalData.xml">
   1.184 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="supplementalData.txt" noArgs="true">
   1.185 +            <!-- launch the tool and generate the data after reading the config file -->
   1.186 +            <run>
   1.187 +                <args>
   1.188 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.189 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.190 +                    <arg name="-t" value="supplementalData"/>
   1.191 +                </args>
   1.192 +		<remapper>
   1.193 +		  <remap sourcePath="/CurrencyMap" targetDir="curr" />
   1.194 +		  <remap sourcePath="/CurrencyMeta" targetDir="curr" />
   1.195 +		</remapper>
   1.196 +            </run>
   1.197 +        </cldr-build>
   1.198 +    </target>
   1.199 +    <target name="metadata" depends="init,setup" description="builds metadata.txt from supplementalMetadata.xml">
   1.200 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="metadata.txt" noArgs="true">
   1.201 +            <!-- launch the tool and generate the data after reading the config file -->
   1.202 +            <run>
   1.203 +                <args>
   1.204 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.205 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.206 +                    <arg name="-t" value="metadata"/>
   1.207 +                </args>
   1.208 +            </run>
   1.209 +        </cldr-build>
   1.210 +    </target>
   1.211 +    <target name="metaZones" depends="init,setup" description="builds metaZones.txt from metaZones.xml">
   1.212 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="metaZones.txt" noArgs="true">
   1.213 +            <!-- launch the tool and generate the data after reading the config file -->
   1.214 +            <run>
   1.215 +                <args>
   1.216 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.217 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.218 +                    <arg name="-t" value="metaZones"/>
   1.219 +                </args>
   1.220 +            </run>
   1.221 +        </cldr-build>
   1.222 +    </target>
   1.223 +    <target name="windowsZones" depends="init,setup" description="builds windowsZones.txt from windowsZones.xml">
   1.224 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="windowsZones.txt" noArgs="true">
   1.225 +            <!-- launch the tool and generate the data after reading the config file -->
   1.226 +            <run>
   1.227 +                <args>
   1.228 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.229 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.230 +                    <arg name="-t" value="windowsZones"/>
   1.231 +                </args>
   1.232 +            </run>
   1.233 +        </cldr-build>
   1.234 +    </target>
   1.235 +    <target name="likelySubtags" depends="init,setup" description="builds likelySubtags.txt from likelySubtags.xml">
   1.236 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="likelySubtags.txt" noArgs="true">
   1.237 +            <!-- launch the tool and generate the data after reading the config file -->
   1.238 +            <run>
   1.239 +                <args>
   1.240 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.241 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.242 +                    <arg name="-t" value="likelySubtags"/>
   1.243 +                </args>
   1.244 +            </run>
   1.245 +        </cldr-build>
   1.246 +    </target>
   1.247 +    <target name="plurals" depends="init,setup" description="builds plurals.txt from plurals.xml">
   1.248 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="plurals.txt" noArgs="true">
   1.249 +            <!-- launch the tool and generate the data after reading the config file -->
   1.250 +            <run>
   1.251 +                <args>
   1.252 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.253 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.254 +                    <arg name="-t" value="plurals"/>
   1.255 +                </args>
   1.256 +            </run>
   1.257 +        </cldr-build>
   1.258 +    </target>
   1.259 +    <target name="numberingSystems" depends="init,setup" description="builds numberingSystems.txt from numberingSystems.xml">
   1.260 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="numberingSystems.txt" noArgs="true">
   1.261 +            <!-- launch the tool and generate the data after reading the config file -->
   1.262 +            <run>
   1.263 +                <args>
   1.264 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.265 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.266 +                    <arg name="-t" value="numberingSystems"/>
   1.267 +                </args>
   1.268 +            </run>
   1.269 +        </cldr-build>
   1.270 +    </target>
   1.271 +    <target name="genderList" depends="init,setup" description="builds genderList.txt from genderList.xml">
   1.272 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="genderList.txt" noArgs="true">
   1.273 +            <!-- launch the tool and generate the data after reading the config file -->
   1.274 +            <run>
   1.275 +                <args>
   1.276 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.277 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.278 +                    <arg name="-t" value="genderList"/>
   1.279 +                </args>
   1.280 +            </run>
   1.281 +        </cldr-build>
   1.282 +    </target>
   1.283 +    <target name="postalCodeData" depends="init,setup" description="builds postalCodeData.txt from postalCodeData.xml">
   1.284 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="postalCodeData.txt" noArgs="true">
   1.285 +            <!-- launch the tool and generate the data after reading the config file -->
   1.286 +            <run>
   1.287 +                <args>
   1.288 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.289 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.290 +                    <arg name="-t" value="postalCodeData"/>
   1.291 +                </args>
   1.292 +            </run>
   1.293 +        </cldr-build>
   1.294 +    </target>
   1.295 +    <target name="dayPeriods" depends="init,setup" description="builds dayPeriods.txt from dayPeriods.xml">
   1.296 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" destFile="dayPeriods.txt" noArgs="true">
   1.297 +            <!-- launch the tool and generate the data after reading the config file -->
   1.298 +            <run>
   1.299 +                <args>
   1.300 +                    <arg name="-s" value="${env.CLDR_DIR}/common/supplemental" />
   1.301 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.302 +                    <arg name="-t" value="dayPeriods"/>
   1.303 +                </args>
   1.304 +            </run>
   1.305 +        </cldr-build>
   1.306 +    </target>
   1.307 +    <target name="brkitr" depends="init,setup" description="builds break iterator files in ICU text format">
   1.308 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" srcFile=".*xml" destFile=".*txt">
   1.309 +            <run>
   1.310 +                <args>
   1.311 +                    <arg name="--sourcedir"       value="${env.ICU4C_DIR}/source/data/xml/brkitr"/>
   1.312 +                    <arg name="--destdir"         value="${env.ICU4C_DIR}/source/data/brkitr"/>
   1.313 +                    <arg name="--type" value="brkitr" />
   1.314 +                    <arg name="--makefile" value="brkfiles.mk"/>
   1.315 +                </args>
   1.316 +                <!-- The entity include is not required for this target -->
   1.317 +                <!-- http://ant.apache.org/faq.html#xml-entity-include
   1.318 +                &icu-config;
   1.319 +                -->
   1.320 +            </run>
   1.321 +        </cldr-build>
   1.322 +    </target>
   1.323 +
   1.324 +    <target name="keyTypeData" depends="init,setup" description="builds keyTypeData.txt and timezoneTypes.txt from bcp47/*.xml">
   1.325 +        <cldr-build toolName="org.unicode.cldr.icu.NewLdml2IcuConverter" noArgs="true">
   1.326 +            <run>
   1.327 +                <args>
   1.328 +                    <arg name="-s" value="${env.CLDR_DIR}/common/bcp47" />
   1.329 +                    <arg name="-d" value="${env.ICU4C_DIR}/source/data/misc"/>
   1.330 +                    <arg name="-t" value="keyTypeData"/>
   1.331 +                </args>
   1.332 +            </run>
   1.333 +        </cldr-build>
   1.334 +    </target>
   1.335 +
   1.336 +        <target name="translit" depends="init,setup" description="builds collation files in ICU text format">
   1.337 +        <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile=".*txt">
   1.338 +            <run>
   1.339 +                <args>
   1.340 +                    <arg name="-m" value="((?!.*(Canadian|Ethiopic).*).*)" />
   1.341 +                    <arg name="--sourcedir" value="${env.CLDR_DIR}/common/transforms" />
   1.342 +                    <arg name="--destdir"   value="${env.ICU4C_DIR}/source/data/translit"/>
   1.343 +                    <arg name="--commentSkip"/>
   1.344 +                </args>
   1.345 +                <!-- http://ant.apache.org/faq.html#xml-entity-include -->
   1.346 +
   1.347 +            </run>
   1.348 +        </cldr-build>
   1.349 +    </target>
   1.350 +    <!-- we don't generate en.txt or el.txt - so don't change trnsfiles.mk for now. -->
   1.351 +<!--   
   1.352 +     <target name="trnsfiles" depends="init, setup" description="builds trnsfiles.mk">
   1.353 +        <cldr-build toolName="org.unicode.cldr.icu.ConvertTransforms" srcFile=".*xml" destFile="trnsfiles.mk" noArgs="true">
   1.354 +            <run>
   1.355 +                <args>   [ double hyphen not allowed in comments - transpose -" to fix below ]
   1.356 +                    <arg name=-"-sourcedir" value="${env.CLDR_DIR}/common/transforms" />
   1.357 +                    <arg name=-"-destdir"   value="${env.ICU4C_DIR}/source/data/translit"/>
   1.358 +                    <arg name=-"-commentSkip"/>
   1.359 +                    <arg name=-"-writeIndex"/>
   1.360 +                </args>
   1.361 +            </run>
   1.362 +        </cldr-build>
   1.363 +    </target> -->
   1.364 +    <target name="clean" depends="init, setup" description="deletes all txt files and mk files from coll and locales directories">
   1.365 +        <delete>
   1.366 +            <fileset id="locales" dir="${env.ICU4C_DIR}/source/data/locales">
   1.367 +                <include name="*.txt" />
   1.368 +            </fileset>
   1.369 +            <fileset id="resfiles" dir="${env.ICU4C_DIR}/source/data/locales">
   1.370 +                <include name="resfiles.mk" />
   1.371 +            </fileset>
   1.372 +            <fileset id="locales_split" dir="${env.ICU4C_DIR}/source/data">
   1.373 +               <include name="curr/*.txt" /> 
   1.374 +               <include name="curr/resfiles.mk" /> 
   1.375 +               <include name="lang/*.txt" /> 
   1.376 +               <include name="lang/resfiles.mk" /> 
   1.377 +               <include name="region/*.txt" /> 
   1.378 +               <include name="region/resfiles.mk" /> 
   1.379 +               <include name="zone/*.txt" /> 
   1.380 +               <include name="zone/resfiles.mk" /> 
   1.381 +	    </fileset>
   1.382 +            <fileset id="collation" dir="${env.ICU4C_DIR}/source/data/coll">
   1.383 +                <include name="*.txt" />
   1.384 +            </fileset>
   1.385 +            <fileset id="colfiles" dir="${env.ICU4C_DIR}/source/data/coll">
   1.386 +                <include name="colfiles.mk" />
   1.387 +            </fileset>
   1.388 +            <fileset id="translit" dir="${env.ICU4C_DIR}/source/data/translit">
   1.389 +                <include name="*_*.txt" />
   1.390 +                <include name="root.txt" />
   1.391 +            </fileset>
   1.392 +            <fileset id="brkitr" dir="${env.ICU4C_DIR}/source/data/brkitr">
   1.393 +                <!-- brkitr directory contains bunch of txt files that are not produced by LDML2ICUConverter.
   1.394 +                     So can't clean up everything. This needs to be updated when new files are added to xml/brkitr directory -->
   1.395 +                <include name="root.txt" />
   1.396 +                <include name="el.txt" />
   1.397 +                <include name="en.txt" />
   1.398 +                <include name="en_US.txt" />
   1.399 +                <include name="en_US_POSIX.txt" />
   1.400 +                <include name="fi.txt" />
   1.401 +                <include name="ja.txt" />
   1.402 +            </fileset>
   1.403 +            <fileset id="brkfiles" dir="${env.ICU4C_DIR}/source/data/brkitr">
   1.404 +                <include name="brkfiles.mk" />
   1.405 +            </fileset>
   1.406 +            <fileset id="supplementalData" dir="${env.ICU4C_DIR}/source/data/misc">
   1.407 +                <include name="supplementalData.txt" />
   1.408 +            </fileset>
   1.409 +            <fileset id="rbnf" dir="${env.ICU4C_DIR}/source/data/rbnf">
   1.410 +                <include name="*.txt" />
   1.411 +            </fileset>
   1.412 +            <fileset id="rbnffiles" dir="${env.ICU4C_DIR}/source/data/rbnf">
   1.413 +                <include name="rbnffiles.mk" />
   1.414 +            </fileset>
   1.415 +            <fileset id="metadata" dir="${env.ICU4C_DIR}/source/data/misc">
   1.416 +                <include name="metadata.txt" />
   1.417 +            </fileset>
   1.418 +            <fileset id="metaZones" dir="${env.ICU4C_DIR}/source/data/misc">
   1.419 +                <include name="metaZones.txt" />
   1.420 +            </fileset>
   1.421 +            <fileset id="windowsZones" dir="${env.ICU4C_DIR}/source/data/misc">
   1.422 +                <include name="windowsZones.txt" />
   1.423 +            </fileset>
   1.424 +            <fileset id="likelySubtags" dir="${env.ICU4C_DIR}/source/data/misc">
   1.425 +                <include name="likelySubtags.txt" />
   1.426 +            </fileset>
   1.427 +            <fileset id="plurals" dir="${env.ICU4C_DIR}/source/data/misc">
   1.428 +                <include name="plurals.txt" />
   1.429 +            </fileset>
   1.430 +            <fileset id="numberingSystems" dir="${env.ICU4C_DIR}/source/data/misc">
   1.431 +                <include name="numberingSystems.txt" />
   1.432 +            </fileset>
   1.433 +            <fileset id="keyTypeData" dir="${env.ICU4C_DIR}/source/data/misc">
   1.434 +                <include name="keyTypeData.txt" />
   1.435 +                <include name="timezoneTypes.txt" />
   1.436 +            </fileset>
   1.437 +            <fileset id="genderList" dir="${env.ICU4C_DIR}/source/data/misc">
   1.438 +                <include name="genderList.txt" />
   1.439 +            </fileset>
   1.440 +            <fileset id="postalCodeData" dir="${env.ICU4C_DIR}/source/data/misc">
   1.441 +                <include name="postalCodeData.txt" />
   1.442 +            </fileset>
   1.443 +            <fileset id="dayPeriods" dir="${env.ICU4C_DIR}/source/data/misc">
   1.444 +                <include name="dayPeriods.txt" />
   1.445 +            </fileset>
   1.446 +        </delete>
   1.447 +    </target>
   1.448 +</project>

mercurial