X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/729e4ab9bc6618bc3d8a898e575df7f4019e29ca..2ca993e82fb37b597a3c73ecd1586a139a6579c5:/icuSources/data/icu4j-readme.txt diff --git a/icuSources/data/icu4j-readme.txt b/icuSources/data/icu4j-readme.txt index a59a2570..ad4805c5 100644 --- a/icuSources/data/icu4j-readme.txt +++ b/icuSources/data/icu4j-readme.txt @@ -1,5 +1,5 @@ ******************************************************************************** -* Copyright (C) 2008-2010, International Business Machines Corporation * +* Copyright (C) 2008-2012, International Business Machines Corporation * * and others. All Rights Reserved. * * * * 6/26/08 - Created by Brian Rower - heavy copying from ICU4J readme & others * @@ -21,6 +21,7 @@ In the following, (Windows: build as x86, Release otherwise you will have to set 'CFG' differently below.) *NOTE* You should do a full rebuild after any data changes. +1a. If you didn't download from Subversion, you will also need the "icu4c-*-data.zip" file. Unpack this file and replace the icu/source/data directory's contents with the contents of the data directory from the zip file. 2. Step 2 depends on whether you are on a Windows or a Unix-type @@ -39,9 +40,10 @@ platform. *Linux* $icu4c_build is the ICU4C root build directory, - which is $icu4c_root/source in an in-source build + which is $icu4c_root/source in an in-source build. + (in other words, $icu4c_build is where you ran runConfigureICU or configure) -2c. On the command line, cd to $icu4c_build +2c. On the command line, cd to $icu4c_build/data 2d. Do make JAR=$jdk_bin/jar ICU4J_ROOT=$icu4j_root icu4j-data-install @@ -50,10 +52,13 @@ platform. Continue with step 3, in Java: +Step 2 on either platform will produce two files: icudata.jar and +icutzdata.jar in $icu4j_root/main/shared/data. + *Java* -3. After the ICU4C-side steps above, build the core-data and core-test-data targets of the - ICU4J ant build to unpack the jar files with the following commands: +3. After the ICU4C-side steps above, build the main target of the + ICU4J ant build to unpack the jar files with the following commands: cd $icu4j_root - ant core-data core-test-data + ant main