GenerateSet version in ShowLanguages.CHART_DISPLAY_VERSION to the current version (eg 1.7, or 1.8draft).
You run a number of different programs. The results for each will be in ...cldr-tmp/diff/by_type/names.currency.html and so on. The parameters you need are listed below. After running each program:
If some files are not rebuilt, delete them: except for *.css, and index.html
Old ChartsThese are old, don't build
Parameters[changing /Users/markdavis/Documents/workspace/... to whatever is appropriate on the machine] -Dfile.encoding=UTF-8-Xmx1000M -DSHOW_FILES -DSHOW -DCLDR_DIR=/Users/markdavis/Documents/workspace/cldr/src/ -DCLDR_MAIN=/Users/markdavis/Documents/workspace/cldr-archive/cldr-2.0.0/common/main/ Note the last line: use a specific directory like that if you are not generating from trunk.
GenerateComparison has additional parameters:
-DoldDirectory=/Users/markdavis/Documents/workspace/common-cldr1.6/main
-DnewDirectory=/Users/markdavis/Documents/workspace/cldr/src/incoming/vetted/main
-DchangesDirectory=/Users/markdavis/Documents/workspace/cldr/src/diff/changes The chart programs have grown over time, and need some cleanup. For example, the supplemental charts duplicate code that is now in SupplementalDataInfo.
ShowLanguages. The messages that they use are in a file util/data/chart_messages.html. The right cell contains the key, which is extracted by lines like:
PrintWriter pw = new PrintWriter(new FormattedFileWriter(index, "Zone \u2192 Tzid", null));
The key will be zone_tzid, in this case.
|
