The following section describes the common steps required to add programming extensions to the Aware IM software system. It is assumed that the reader is familiar with the basics of programming in the Java programming language and the general steps involved in compiling Java source code and packaging jar files.
CLASSPATH
variable used when compiling the extensions must contain a reference to the correct location of the Aware IM jar filees (awareim.jar
, shared.jar
, openAdaptor.jar
, connection.jar
). For example, the command to compile the code implementing the extension might look something like this:javac –classpath c:\AwareIM\Tomcat\lib\awareim.jar; c:\AwareIM\Tomcat\lib\shared.jar; c:\AwareIM\Tomcat\lib\connection.jar; c:\AwareIM\Tomcat\lib\openAdaptor.jar myextension.java
AwareIM/CustomJars
directory (if this directory does not exist, create it manually)AwareIM/bin/awareim.conf
and AwareIM/bin/wrapper.conf
to add the jar files to the list of jar files used