parent
d895e3f164
commit
2f72a932ac
@ -6,14 +6,35 @@
|
|||||||
Basic instructions for running the LdmlConverter via Maven
|
Basic instructions for running the LdmlConverter via Maven
|
||||||
==========================================================
|
==========================================================
|
||||||
|
|
||||||
|
Requirements
|
||||||
|
------------
|
||||||
|
|
||||||
|
* A CLDR release for supplying CLDR data and the CLDR API.
|
||||||
|
* The Maven build tool
|
||||||
|
* The Ant build tool
|
||||||
|
|
||||||
Important directories
|
Important directories
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
<CLDR_DIR> = The root directory of the CLDR release.
|
<CLDR_DIR> = The top-level directory for the CLDR production data (typically
|
||||||
|
the "production" directory in the staging repository).
|
||||||
|
|
||||||
<OUT_DIR> = The output directory into which ICU data files should be written.
|
<OUT_DIR> = The output directory into which ICU data files should be written.
|
||||||
|
|
||||||
|
|
||||||
|
Initial Setup
|
||||||
|
-------------
|
||||||
|
|
||||||
|
This project relies on the Maven build tool for managing dependencies and uses
|
||||||
|
Ant for configuration purposes, so both will need to be installed. On a debian
|
||||||
|
based system, this should be as simple as:
|
||||||
|
|
||||||
|
$ sudo apt-get install maven ant
|
||||||
|
|
||||||
|
See also lib/README.txt for instructions on how to install the CLDR JAR files
|
||||||
|
which contains the CLDR API used by these tools. This step will only need to
|
||||||
|
be repeated when you update the CLDR project you are using.
|
||||||
|
|
||||||
Generating all ICU data
|
Generating all ICU data
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
@ -25,9 +46,7 @@ $ CLDR_DIR=<CLDR_DIR> ant -f build-icu-data.xml
|
|||||||
Running unit tests
|
Running unit tests
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
$ mvn test \
|
$ mvn test -DCLDR_DIR=<CLDR_DIR>
|
||||||
-DCLDR_DIR='<CLDR_DIR>' \
|
|
||||||
-DCLDR_DTD_CACHE='<DTD_CACHE>'
|
|
||||||
|
|
||||||
|
|
||||||
Importing and running from an IDE
|
Importing and running from an IDE
|
||||||
@ -36,4 +55,4 @@ Importing and running from an IDE
|
|||||||
This project should be easy to import into an IDE which supports Maven development, such
|
This project should be easy to import into an IDE which supports Maven development, such
|
||||||
as IntelliJ or Eclipse. It uses a local Maven repository directory for the unpublished
|
as IntelliJ or Eclipse. It uses a local Maven repository directory for the unpublished
|
||||||
CLDR libraries (which are included in the project), but otherwise gets all dependencies
|
CLDR libraries (which are included in the project), but otherwise gets all dependencies
|
||||||
via Maven's public repositories.
|
via Maven's public repositories.
|
||||||
|
Loading…
Reference in New Issue
Block a user