From 2f72a932ac1f401461847eab362bce9809a21e88 Mon Sep 17 00:00:00 2001 From: David Beaumont Date: Fri, 22 Nov 2019 02:10:34 +0000 Subject: [PATCH] ICU-20693 Remember to mention the JAR setup See #900 --- tools/cldr/cldr-to-icu/README.txt | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/tools/cldr/cldr-to-icu/README.txt b/tools/cldr/cldr-to-icu/README.txt index e850345d9a0..e921914fece 100644 --- a/tools/cldr/cldr-to-icu/README.txt +++ b/tools/cldr/cldr-to-icu/README.txt @@ -6,14 +6,35 @@ Basic instructions for running the LdmlConverter via Maven ========================================================== +Requirements +------------ + +* A CLDR release for supplying CLDR data and the CLDR API. +* The Maven build tool +* The Ant build tool + Important directories --------------------- - = The root directory of the CLDR release. + = The top-level directory for the CLDR production data (typically + the "production" directory in the staging repository). = The output directory into which ICU data files should be written. +Initial Setup +------------- + +This project relies on the Maven build tool for managing dependencies and uses +Ant for configuration purposes, so both will need to be installed. On a debian +based system, this should be as simple as: + +$ sudo apt-get install maven ant + +See also lib/README.txt for instructions on how to install the CLDR JAR files +which contains the CLDR API used by these tools. This step will only need to +be repeated when you update the CLDR project you are using. + Generating all ICU data ----------------------- @@ -25,9 +46,7 @@ $ CLDR_DIR= ant -f build-icu-data.xml Running unit tests ------------------ -$ mvn test \ - -DCLDR_DIR='' \ - -DCLDR_DTD_CACHE='' +$ mvn test -DCLDR_DIR= Importing and running from an IDE @@ -36,4 +55,4 @@ Importing and running from an IDE This project should be easy to import into an IDE which supports Maven development, such as IntelliJ or Eclipse. It uses a local Maven repository directory for the unpublished CLDR libraries (which are included in the project), but otherwise gets all dependencies -via Maven's public repositories. \ No newline at end of file +via Maven's public repositories. -- 2.40.0