Configuration Setup
This version of LexAccess Java, UTF-8 provides users choices of different set up options through the configuration file. The default configuration file is $LA_DIR/data/config/lexAccess.properties. The variables used in the configuration file are listed in the following table. "Relative path" refers to the path relative to $LA_DIR.
I. Configuration variables
Variable Names | Explanations | Variable Values (Default) |
Directories and files | ||
LA_DIR | the absolute path of the LexAccess tool directory |
|
DB_DIR | the relative path of HSql database directory |
|
FIRST_VERSION | the first lexAccess version released in Java |
|
LATEST_VERSION | the latest lexAccess version |
|
Database | ||
DB_TYPE | Database to use in LexAccess |
|
DB_DRIVER | JDBC driver |
|
DB_NAME | database name for LexAccess |
|
DB_HOST | Hostname of database |
|
DB_USERNAME | user name for using the LexAccess database |
|
DB_PASSWORD | lexAccess user password |
|
JDBC_URL | JDBC URL and connecting string |
|
Other Variables | ||
NO_OUTPUT | a string indicating no output |
|
TEXT_INDENT | indent in text output format |
|
XML_INDENT | indent in Xml output format |
|
XML_HEADER | Xml header in Xml output format |
|
II. Syntax
III. File Location
Notes: The lexAccess installation program generates data/config/lexAccess.properties automatically (from data/config/lexAccess.properties.TEMPLATE) according to options users chose during the installation.