The agent's source file should be compiled in the same manner
as any other Java source file. For successful compilation and
execution, the Concordia packages must be on the user's
CLASSPATH. In a standard installation, the Concordia packages are
shipped is an uncompressed JAR file called concordia.jar. This
file is located in the Agents\lib
directory under your Concordia installation directory. Since this
JAR file is uncompressed, it can be added directly to your
CLASSPATH just like any standard classes.zip
file.
On win32 systems, a special batch file named concordiadev.bat
is
stored in the Agents\bin\win32
subdirectory of the Concordia installation
directory. This batch file can be used to automatically set up
your CLASSPATH, and other environment variables required for
development with Concordia. To use, simply run this batch file
before compiling any Concordia derived classes.
On UNIX systems, the Agents\bin\unix
subdirectory of the Concordia installation
directory contains two special shell scripts, named concordiadev.sh
and concordiadev.csh
, for
Bourne shell and csh, respectively. These shell scripts can be
used to automatically set up your CLASSPATH, and other
environment variables required for development with Concordia. To
use, simply run the shell script of your choice before compiling
any Concordia derived classes.