Building the Database Agent
- 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.
- You must have JDK 1.4.0 or higher installed and an environment variable
JAVA_HOMEwhich points to the JDK installation directory.
- You must have Ant 1.4 or higher installed and an environment variable
ANT_HOMEwhich points to the Ant installation directory.
- 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.
- 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.
- For more build options, run the "ant help" command from within the root of the DBAgent directory tree.