Configuration Setup

This version of LexAccess Java, UTF-8, 2010 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 NamesExplanations Variable Values (Default)
Directories and files
LA_DIR the absolute path of the LexAccess tool directory
  • AUTO_MODE
  • /Projects/LexAccess/LexAccess2010/
  • d:/Projects/LexAccess/LexAccess2010/
  • Database
    DB_TYPEDatabase to use in LexAccess
  • HSQLDB
  • JAVADB
  • MYSQL
  • OTHER
  • DB_DRIVERJDBC driver
  • org.hsqldb.jdbcDrive
  • org.apache.derby.jdbc.EmbeddedDriver
  • com.mysql.jdbc.Driver
  • DB_NAMEdatabase name for LexAccess
  • lexAccess2010
  • DB_HOSTHostname of database
  • null (HSqlDb, JavaDb)
  • localhost (mySql)
  • DB_USERNAMEuser name for using the LexAccess database
  • sa (HSqlDb)
  • lexAccess (mySql)
  • DB_PASSWORDlexAccess user password
  • lexAccess (mySql)
  • JDBC_URLJDBC URL and connecting string
  • jdbc:hsqldb:${LA_DIR}/data/HSqlDb/lexAccess2010
  • jdbc:derby:lexAccess2010
  • jdbc:mysql://localhost/lexAccess2010
  • Other Variables
    NO_OUTPUTa string indicating no output
  • -No Record Found-
  • TEXT_INDENTindent in text output format
  • \t
  • XML_INDENTindent in Xml output format
  • "  "
  • XML_HEADERXml header in Xml output format
  • <?xml version="1.0" encoding="UTF-8"?>
  • 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.