Creating the Archive
A number of the tools in CLDR depend on access to older versions. These tools include:
[Note: add others when we find them]
Some tests (when run under exhaustive mode)
Some other tools (typically when given a version argument on the command line)
Here's how to do that.
Create an archive directory. Simplest is if it on the same level as your local CLDR repository, eg …/workspace/cldr-archive
Open up ToolConstants.java and look at ToolConstants.CLDR_VERSIONS. You'll see something like:
public static final List<String> CLDR_VERSIONS = ImmutableList.of(
// add to this once the release is final!
NOTE: this should also match CldrVersion.java (those two need to be merged together)
For some tools, you will need a directory that matches everyone one of these constants. For others, you will just need the latest released version. The documentation of the tool should let you know what you need. The list is updated with each new release, so the first time you run the tool in question after a release you'll get an error message if you need to add a directory.
To add a directory, such as "27"
Go to the public release, eg http://unicode.org/Public/cldr/27/
The files you need are in core.zip (possibly split into cldr-common-*.zip and cldr-keyboards*.zip), so unzip it.
Create a folder cldr-archive/27.0
Copy the common and keyboards directories from the unzipped directory into the that new directory.
Create an ARCHIVE environment variable for use with the tools, and set it to the name you use, eg …/workspace/cldr-archive
The end result (where you need all of the releases) looks something like the following: