]> git.saurik.com Git - apple/icu.git/blame - icuSources/data/cldr-icu-readme.txt
ICU-400.40.tar.gz
[apple/icu.git] / icuSources / data / cldr-icu-readme.txt
CommitLineData
73c04bcf
A
1# ***************************************************************************
2# *
3# * Copyright (C) 2005, International Business Machines
4# * Corporation and others. All Rights Reserved.
5# *
6# ***************************************************************************
7
8Steps for building ICU data from CLDR:
9
10Users of CLDR:
111. Download cldrtools.zip from the CLDR website (http://www.unicode.org/cldr/repository_access.html) and unzip in a directory
122. Download cldr.zip from the CLDR website (same as above) and unzip in cldr directory
133. Check out ICU from ICU CVS repository http://www.ibm.com/software/globalization/icu/repository.jsp
144. Set the required environment variables
15 export JAVA_HOME=<path>/java
16 export ANT_OPTS="-DCLDR_DTD_CACHE=<path>/temp/cldrdtd"
17 export CLDR_DIR=<path>/cldr
18 export CLDR_JAR=<path>/cldr.jar
19 export ICU4C_DIR=<path>/icu
20 export ICU4J_JAR=<path>/icu4j.jar
21 export UTILITIES_JAR=<path>/utilities.jar
225. Change directory to <path>/icu/source/data/
236. Enter command
24 <path>/ant/bin/ant clean all
25
26Developers of CLDR:
271. Check out CLDR from the CVS repository http://www.unicode.org/cldr/repository_access.html and build the tools.
282. Check out ICU from ICU CVS repository http://www.ibm.com/software/globalization/icu/repository.jsp and build it.
293. Check out ICU4J from ICU CVS repository http://www.ibm.com/software/globalization/icu/repository.jsp and build it.
304. Set the required environment variables
31 export JAVA_HOME=<path>/java
32 export ANT_OPTS="-DCLDR_DTD_CACHE=<path>/temp/cldrdtd"
33 export CLDR_DIR=<path>/cldr
34 export CLDR_CLASSES=<path>/cldr/tools/java/classes
35 export ICU4C_DIR=<path>/icu
36 export ICU4J_CLASSES=<path>/icu4j/classes
375. Change directory to <path>/icu/source/data/
386. Enter command
39 <path>/ant/bin/ant clean all
40
41Debugging in Eclipse:
421. From Eclipse select Run > Run from toolbar
432. Click New button
443. Go to Main tab and enter
45 Name: Ant_Launcher
46 Project: cldr
47 Main class: org.apache.tools.ant.launch.Launcher
484. Go to Arguments tab and enter
49 Program Arguments: -buildfile c:\work\cldr\tools\java\build.xml icu4c
50 VM Arguments: -classpath C:\work\apache-ant-1.6.1\lib\ant-launcher.jar
51 -Dant.home=C:\work\apache-ant-1.6.1
52 -DCLDR_DTD_CACHE=/work/temp/cldrdtd/
535. Go to Environment tag and create new variables
54 CLDR_DIR=<path>/cldr
55 CLDR_CLASSES=<path>/cldr/tools/java/classes
56 ICU4C_DIR=/work/icu
57 ICU4J_CLASSES=<path>/icu4j/classes
586. Set a break point in CLDRBuild or the tool class that needs to be debugged.