From dfc8b8b746a132aed7d2c63c7940cbb95ae2a611 Mon Sep 17 00:00:00 2001 From: David Beaumont Date: Tue, 14 Jul 2020 14:41:33 +0000 Subject: [PATCH] ICU-20697 Delete now unused files and documentation for the old ICU LDML tooling. --- icu4c/source/data/build.xml | 397 ---------- icu4c/source/data/cldr-icu-readme.txt | 69 +- icu4c/source/data/icu-coll-deprecates.xml | 43 -- icu4c/source/data/icu-config.xml | 799 -------------------- icu4c/source/data/icu-locale-deprecates.xml | 65 -- icu4c/source/data/icu-rbnf-deprecates.xml | 34 - 6 files changed, 7 insertions(+), 1400 deletions(-) delete mode 100644 icu4c/source/data/icu-coll-deprecates.xml delete mode 100644 icu4c/source/data/icu-config.xml delete mode 100644 icu4c/source/data/icu-locale-deprecates.xml delete mode 100644 icu4c/source/data/icu-rbnf-deprecates.xml diff --git a/icu4c/source/data/build.xml b/icu4c/source/data/build.xml index 4b6f092900e..ffee73d34b8 100644 --- a/icu4c/source/data/build.xml +++ b/icu4c/source/data/build.xml @@ -56,14 +56,6 @@ - - - - - - - - @@ -84,393 +76,4 @@ could set '-s' / '-d' for explicit source/dest --> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - &icu-config; - &icu-locale-deprecates; - - - - - - - - - - - - - - &icu-config; - &icu-coll-deprecates; - - - - - - - - - - - - - - &icu-config; - &icu-rbnf-deprecates; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/icu4c/source/data/cldr-icu-readme.txt b/icu4c/source/data/cldr-icu-readme.txt index 1e8b1491452..fed367e34f4 100644 --- a/icu4c/source/data/cldr-icu-readme.txt +++ b/icu4c/source/data/cldr-icu-readme.txt @@ -97,34 +97,6 @@ # # $TOOLS_ROOT/cldr/cldr-to-icu/build-icu-data.xml # -# The files used in previous versions are the following. These are not used in -# the ICU-67-and-later process, but for now they should be kept up to date to -# enable parallel use of the older build process for verification. -# -# $ICU4C_DIR/source/data/icu-config.xml - Update to add or remove -# CLDR locales for inclusion in ICU. Update to prefer -# alt forms for certain paths, or to exclude certain paths; note -# that items can only have draft or alt attributes. -# -# Note that if a language-only locale (e.g. "de") is included in -# , then all region sublocales for that language that -# are present in CLDR data (e.g. "de_AT", "de_BE", "de_CH", etc.) -# should also be included in , per PMC policy decision -# 2012-05-02 (see http://bugs.icu-project.org/trac/ticket/9298). -# -# $ICU4C_DIR/source/data/build.xml - If you are adding or removing break -# iterators, you need to update under -# to clean the correct set of files. -# -# If there are new CLDR resource bundle types, you may need to -# updated the sections to put these in the correct -# data subfolder for ICU. -# -# $ICU4C_DIR/source/data/xml/ - If you are adding a new locale, break -# iterator, collation tailoring, or rule-based number formatter, -# you may need to add a corresponding xml file in (respectively) -# the main/, brkitr/, collation/, or rbnf/ subdirectory here. -# #---- # # For an official CLDR data integration into ICU, there are some additional @@ -166,39 +138,12 @@ export ICU4C_DIR=$HOME/icu-myfork/icu4c export ICU4J_ROOT=$HOME/icu-myfork/icu4j export TOOLS_ROOT=$HOME/icu-myfork/tools +# 2. Build and install the CLDR jar -# 2. Build the CLDR Java tools and jar +cd $TOOLS_ROOT/cldr/lib +./install-cldr-jars.sh "$CLDR_DIR" -cd $CLDR_DIR/tools/java -ant clean -ant all -ant jar - -# 2a. Copy the CLDR jars into $TOOLS_ROOT/cldr/cldr-to-icu/lib/ maven repository; -# see $TOOLS_ROOT/cldr/cldr-to-icu/lib/README.txt - -cd $TOOLS_ROOT/cldr/cldr-to-icu/lib/ -mvn install:install-file \ - -DgroupId=org.unicode.cldr \ - -DartifactId=cldr-api \ - -Dversion=0.1-SNAPSHOT \ - -Dpackaging=jar \ - -DgeneratePom=true \ - -DlocalRepositoryPath=. \ - -Dfile=$CLDR_DIR/tools/java/cldr.jar - -cd $TOOLS_ROOT/cldr/cldr-to-icu/lib/ -mvn install:install-file \ - -DgroupId=com.ibm.icu \ - -DartifactId=icu-utilities \ - -Dversion=0.1-SNAPSHOT \ - -Dpackaging=jar \ - -DgeneratePom=true \ - -DlocalRepositoryPath=. \ - -Dfile=$CLDR_DIR/tools/java/libs/utilities.jar - -cd $TOOLS_ROOT/cldr/cldr-to-icu/ -mvn dependency:purge-local-repository -DsnapshotsOnly=true +See the README.txt file in this directory for more information. # 3. Configure ICU4C, build and test without new data first, to verify that # there are no pre-existing errors. Here is the runConfigureICU @@ -239,10 +184,10 @@ ant proddata 2>&1 | tee /tmp/cldr-newData-proddataLog.txt # be ones that it would generate, except for pasts listed in elements such as # coll/de__PHONEBOOK.txt, coll/de_.txt, etc. # -# Before this step, make any necessary changes to -# build-icu-data.xml$TOOLS_ROOT/cldr/cldr-to-icu/ to add new locales, etc. +# Before running Ant to regenerate the data, make any necessary changes to the +# build-icu-data.xml file, such as adding new locales etc. -cd $TOOLS_ROOT/cldr/cldr-to-icu/ +cd $TOOLS_ROOT/cldr/cldr-to-icu CLDR_DIR=$CLDR_TMP_DIR/production ant -f build-icu-data.xml | tee /tmp/cldr-newData-builddataLog.txt # 5. Check which data files have modifications, which have been added or removed diff --git a/icu4c/source/data/icu-coll-deprecates.xml b/icu4c/source/data/icu-coll-deprecates.xml deleted file mode 100644 index 09efac23674..00000000000 --- a/icu4c/source/data/icu-coll-deprecates.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/icu4c/source/data/icu-config.xml b/icu4c/source/data/icu-config.xml deleted file mode 100644 index 0bb8a871448..00000000000 --- a/icu4c/source/data/icu-config.xml +++ /dev/null @@ -1,799 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/icu4c/source/data/icu-locale-deprecates.xml b/icu4c/source/data/icu-locale-deprecates.xml deleted file mode 100644 index b702dbae234..00000000000 --- a/icu4c/source/data/icu-locale-deprecates.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/icu4c/source/data/icu-rbnf-deprecates.xml b/icu4c/source/data/icu-rbnf-deprecates.xml deleted file mode 100644 index d933a2d4906..00000000000 --- a/icu4c/source/data/icu-rbnf-deprecates.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - -