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.

Building ICU4J Resources from ICU4C

-
Requirements
- -
Procedure
-
    -
  1. Download and build ICU4C. For instructions on -downloading and building ICU4C, please click here.
  2. -
  3. Change directory to $icu4c_root/source/tools/genrb. $icu4c_root - is the root directory of ICU4C source package.
  4. -
  5. 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.
  6. -
  7. Build resources target of ant to unpack the jar files with the following commands:
    -    cd $icu4j_root
    -    ant resources
  8. -
- 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
  1. Update $cldr_root/common to 'release-1-6-0' tag
  2. Update $cldr_root/tools to 'release-1-6-0' tag
  3. -
  4. Checkout ICU with tag 'release-4-0'
  5. +
  6. Checkout ICU4C with tag 'release-4-0'
  7. Checkout ICU4J with tag 'release-4-0'
  8. Build ICU4J
  9. Build ICU4C
  10. @@ -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
  11. cd to $icu4c_root/source/data directory
  12. Follow the instructions in the cldr-icu-readme.txt
  13. -
  14. Build ICU data from CLDR
  15. -
  16. cd to $icu4c_root/source/tools/genrb
  17. -
  18. run gendtjar.pl as explained in the previous section.
  19. +
  20. Build ICU4C data from CLDR
  21. +
  22. Build ICU4J data from ICU4C data by following the procedures in $icu4c_root/source/data/icu4j-readme.txt
  23. cd to $icu4j_root dir
  24. Build and test icu4j