Configuration Setup

This version of LexAccess Java, UTF-8, 2009 provides users choices of different set up options through the configuration file. The default configuration file is $LA_DIR/data/config/ 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
  • /Projects/LexAccess/LexAccess2009/
  • d:/Projects/LexAccess/LexAccess2009/
  • Database
    DB_TYPEDatabase to use in LexAccess
  • DB_DRIVERJDBC driver
  • org.hsqldb.jdbcDrive
  • org.apache.derby.jdbc.EmbeddedDriver
  • com.mysql.jdbc.Driver
  • DB_NAMEdatabase name for LexAccess
  • lexAccess2009
  • 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/lexAccess2009
  • jdbc:derby:lexAccess2009
  • jdbc:mysql://localhost/lexAccess2009
  • 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/ atumatically (from data/config/ accroding to options users chose during the installation.