ICU-4450 Fix readme with comments from steven

X-SVN-Rev: 18843
This commit is contained in:
Ram Viswanadha 2005-12-01 00:48:11 +00:00
parent 5e69c16bf3
commit 7bec1acff3

View File

@ -6,10 +6,27 @@
# *************************************************************************** # ***************************************************************************
Steps for building ICU data from CLDR: Steps for building ICU data from CLDR:
Users of CLDR:
1. Download cldrtools.zip from the CLDR website (http://www.unicode.org/cldr/repository_access.html) and unzip in a directory
2. Download cldr.zip from the CLDR website (same as above) and unzip in cldr directory
3. Check out ICU from ICU CVS repository http://www.ibm.com/software/globalization/icu/repository.jsp
4. Set the required environment variables
export JAVA_HOME=<path>/java
export ANT_OPTS="-DCLDR_DTD_CACHE=<path>/temp/cldrdtd"
export CLDR_DIR=<path>/cldr
export CLDR_JAR=<path>/cldr.jar
export ICU4C_DIR=<path>/icu
export ICU4J_JAR=<path>/icu4j.jar
export UTILITIES_JAR=<path>/utilities.jar
5. Change directory to <path>/icu/source/data/
6. Enter command
<path>/ant/bin/ant clean all
Developers of CLDR: Developers of CLDR:
1. Check out CLDR from the CVS repository 1. Check out CLDR from the CVS repository http://www.unicode.org/cldr/repository_access.html and build the tools.
2. Check out ICU from ICU CVS repository 2. Check out ICU from ICU CVS repository http://www.ibm.com/software/globalization/icu/repository.jsp and build it.
3. Check out ICU4J from ICU CVS repository 3. Check out ICU4J from ICU CVS repository http://www.ibm.com/software/globalization/icu/repository.jsp and build it.
4. Set the required environment variables 4. Set the required environment variables
export JAVA_HOME=<path>/java export JAVA_HOME=<path>/java
export ANT_OPTS="-DCLDR_DTD_CACHE=<path>/temp/cldrdtd" export ANT_OPTS="-DCLDR_DTD_CACHE=<path>/temp/cldrdtd"
@ -19,7 +36,7 @@ Developers of CLDR:
export ICU4J_CLASSES=<path>/icu4j/classes export ICU4J_CLASSES=<path>/icu4j/classes
5. Change directory to <path>/icu/source/data/ 5. Change directory to <path>/icu/source/data/
6. Enter command 6. Enter command
<path>/ant/bin/ant all <path>/ant/bin/ant clean all
Debugging in Eclipse: Debugging in Eclipse:
1. From Eclipse select Run > Run from toolbar 1. From Eclipse select Run > Run from toolbar
@ -39,19 +56,3 @@ Debugging in Eclipse:
ICU4C_DIR=/work/icu ICU4C_DIR=/work/icu
ICU4J_CLASSES=<path>/icu4j/classes ICU4J_CLASSES=<path>/icu4j/classes
6. Set a break point in CLDRBuild or the tool class that needs to be debugged. 6. Set a break point in CLDRBuild or the tool class that needs to be debugged.
Users of CLDR:
1. Download cldrtools.zip from the CLDR website and unzip in a directory
2. Download cldr.zip from the CLDR website and unzip in cldr directory
3. Check out ICU from ICU CVS repository
4. Set the required environment variables
export JAVA_HOME=<path>/java
export ANT_OPTS="-DCLDR_DTD_CACHE=<path>/temp/cldrdtd"
export CLDR_DIR=<path>/cldr
export CLDR_JAR=<path>/cldr.jar
export ICU4C_DIR=<path>/icu
export ICU4J_JAR=<path>/icu4j.jar
export UTILITIES_JAR=<path>/utilities.jar
5. Change directory to <path>/icu/source/data/
6. Enter command
<path>/ant/bin/ant all