Building the Database Agent
  1. If you have received a pre-built version of the DBAgent, there is no need to rebuild it. You can determine this by checking to see if you have a "dist" directory containing (at least) the "dbgent.jar" file. If you have this file, you probably have pre-built DBAgent distribution.


  2. You must have JDK 1.4.0 or higher installed and an environment variable JAVA_HOME which points to the JDK installation directory.


  3. You must have Ant 1.4 or higher installed and an environment variable ANT_HOME which points to the Ant installation directory.


  4. From within the root of the DBAgent directory tree, type "ant" to compile, jar, and install the DBAgent code. The resulting distribution files will be placed in the "dist" directory.


  5. To build the DBAgent Javadoc API documentation, run the "ant doc" command from within the root of the DBAgent directory tree. The resultling documentation will be placed in the "docs/api" directory.


  6. For more build options, run the "ant help" command from within the root of the DBAgent directory tree.