blob: 49c0279e7e7bb5752f6f21e0570ccc94012dd2b2 [file] [log] [blame]
jat@google.comc1eb4c12010-10-12 21:00:54 +00001Steps to process CLDR data using Eclipse:
2
Manuel Carrasco Moñino120e0192014-03-22 13:32:25 +010031) Get latest CLDR data available locally on your system and compile
4 it, such as by:
Manuel Carrasco Moñino299a8232014-05-03 10:40:01 +02005 $ svn co http://unicode.org/repos/cldr/tags/release-25 <cldrdir>
Manuel Carrasco Moñino120e0192014-03-22 13:32:25 +01006 $ cd release-25/tools/java
7 $ ant clean jar
82) Required CLDR variables in Eclipse
9 Set a linked resource variable pointing to this:
jat@google.comc1eb4c12010-10-12 21:00:54 +000010 Window -> Preferences -> General -> Workspace -> Linked Resources
Manuel Carrasco Moñino120e0192014-03-22 13:32:25 +010011 Add a variable CLDR_ROOT pointing to <cldrdir> above
12 Create a classpath variable pointing to the same folder:
13 Window -> Preferences -> Java -> Build Path -> Classpath Variables
14 Create a variable named CLDR_ROOT pointing to <cldrdir>
15 Create a string subtitution variable:
16 Window -> Preferences -> Run/Debug -> String Substitution -> New
17 Create the variable CLDR_ROOT pointing to <cldrdir>
jat@google.comc1eb4c12010-10-12 21:00:54 +0000183) Import the cldr-data, cldr-tools, and cldr-import projects (note that
19 CLDR_ROOT must be defined as above, or you will have to delete and
20 reimport these projects).
21 File -> Import -> General -> Existing Projects in Workspace
22 Browse to $GWT_ROOT/eclipse and select the cldr-data, cldr-tools,
23 and cldr-import projects.
Manuel Carrasco Moñino299a8232014-05-03 10:40:01 +0200244) Set Compiler compliance level to 1.7
25 Project -> Properties -> Java Compiler -> Enable project specific settings
26 -> Compiler compliance level 1.7 -> use default compliance settings.
275) Run the GenerateGwtCldrData launch config -- by default, it will
jat@google.comc1eb4c12010-10-12 21:00:54 +000028 overwrite files in the GWT distribution; edit the --outdir argument
29 if you want it to go somewhere else.