From f18b601af1e5d43f58c375a4af2b5ed3d4ca0f40 Mon Sep 17 00:00:00 2001
From: Brian Rower
Date: Fri, 8 Aug 2008 19:21:11 +0000
Subject: [PATCH] ICU-6279 Updated ICU4J readme about where to find
instructions for creating ICU4J data
X-SVN-Rev: 24474
---
icu4j/readme.html | 37 ++++---------------------------------
1 file changed, 4 insertions(+), 33 deletions(-)
diff --git a/icu4j/readme.html b/icu4j/readme.html
index 5b80456bfca..acbe599c9f4 100644
--- a/icu4j/readme.html
+++ b/icu4j/readme.html
@@ -953,35 +953,7 @@ resources to once again be extracted. Extraction will
overwrite any corresponding resource files already in that directory.
-Requirements
-
- - ICU4C
- - Compilers and tools required for building ICU4C.
- - J2SE SDK version 1.4 or above (5.0 is recommended)
- - Perl version 5 or above.
-
- Procedure
-
- - Download and build ICU4C. For instructions on
-downloading and building ICU4C, please click here.
- - Change directory to $icu4c_root/source/tools/genrb. $icu4c_root
- is the root directory of ICU4C source package.
- - Run gendtjar.pl from that directory itself with the command
- ./gendtjar.pl --icu-root=$icu4c_root --jar=$jdk_home/bin --icu4j-root=$icu4j_root
- e.g.
- ./gendtjar.pl --icu-root=$HOME/icu4c --jar=/usr/local/bin/java/bin/ --icu4j-root=$HOME/icu4j
- Execution of gendtjar.pl script will create the required jar files in
- the $icu4c_root/source/tools/genrb/temp directory and then copy them to their
- final locations in the ICU4J structure,
- $icu4j_root/src/com/ibm/icu/impl/data and $icu4j_root/src/com/ibm/icu/dev/data.
- - Build resources target of ant to unpack the jar files with the following commands:
- cd $icu4j_root
- ant resources
-
- Note: if gendtjar.pl does not work, the --verbose option can help in debugging why it went wrong.
+ICU4J data is built by ICU4C tools. Please see "icu4j-readme.txt" in $icu4c_root/source/data for the procedures.
Generating Data from CLDR
Note: This procedure assumes that all 3 sources are in sibling directories
@@ -989,7 +961,7 @@ downloading and building ICU4C, please click
- Update $cldr_root/common to 'release-1-6-0' tag
- Update $cldr_root/tools to 'release-1-6-0' tag
- - Checkout ICU with tag 'release-4-0'
+ - Checkout ICU4C with tag 'release-4-0'
- Checkout ICU4J with tag 'release-4-0'
- Build ICU4J
- Build ICU4C
@@ -997,9 +969,8 @@ downloading and building ICU4C, please click Build CLDR using ant after pointing ICU4J_CLASSES env var to the newly build ICU4J
- cd to $icu4c_root/source/data directory
- Follow the instructions in the cldr-icu-readme.txt
- - Build ICU data from CLDR
- - cd to $icu4c_root/source/tools/genrb
- - run gendtjar.pl as explained in the previous section.
+ - Build ICU4C data from CLDR
+ - Build ICU4J data from ICU4C data by following the procedures in $icu4c_root/source/data/icu4j-readme.txt
- cd to $icu4j_root dir
- Build and test icu4j