blob: 31c4ce7ce3f83b4d92db44ea3918dee8f24a93c0 [file] [log] [blame]
Steps to process CLDR data using Eclipse:
1) Get latest CLDR data available locally on your system and compile
it, such as by:
$ svn co http://unicode.org/repos/cldr/tags/release-24 <cldrdir>
$ cd release-25/tools/java
$ ant clean jar
2) Required CLDR variables in Eclipse
Set a linked resource variable pointing to this:
Window -> Preferences -> General -> Workspace -> Linked Resources
Add a variable CLDR_ROOT pointing to <cldrdir> above
Create a classpath variable pointing to the same folder:
Window -> Preferences -> Java -> Build Path -> Classpath Variables
Create a variable named CLDR_ROOT pointing to <cldrdir>
Create a string subtitution variable:
Window -> Preferences -> Run/Debug -> String Substitution -> New
Create the variable CLDR_ROOT pointing to <cldrdir>
3) Import the cldr-data, cldr-tools, and cldr-import projects (note that
CLDR_ROOT must be defined as above, or you will have to delete and
reimport these projects).
File -> Import -> General -> Existing Projects in Workspace
Browse to $GWT_ROOT/eclipse and select the cldr-data, cldr-tools,
and cldr-import projects.
4) Run the GenerateGwtCldrData launch config -- by default, it will
overwrite files in the GWT distribution; edit the --outdir argument
if you want it to go somewhere else.