Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:3500:0200 [2023/04/05 05:50] seandocs:3500:0200 [2025/06/12 04:00] (current) – Change to AwareIM aware_support3
Line 3: Line 3:
 ====== General Guidelines ====== ====== General Guidelines ======
  
-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.+The following section describes the common steps required to add programming extensions to the //**AwareIM**// 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.
  
   * All extensions (except scripts running on the client) have to be written in the Java programming language.   * All extensions (except scripts running on the client) have to be written in the Java programming language.
-  * As all extensions implement some standard Java interface exposed by //**Aware IM**//, the ''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:\\ <code>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</code>+  * As all extensions implement some standard Java interface exposed by //**AwareIM**//, the ''CLASSPATH'' variable used when compiling the extensions must contain a reference to the correct location of the AwareIM 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:\\ <code>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</code>
   * The name of the Java package where the extension will reside is not mandated and is up to a programmer.   * The name of the Java package where the extension will reside is not mandated and is up to a programmer.
   * The resulting extensions may be packaged into one or several jar files. These jar files have to be placed into the ''AwareIM/CustomJars'' directory (if this directory does not exist, create it manually)   * The resulting extensions may be packaged into one or several jar files. These jar files have to be placed into the ''AwareIM/CustomJars'' directory (if this directory does not exist, create it manually)
-  * If running Aware IM as a Windows service modify the files ''AwareIM/bin/awareim.conf'' and ''AwareIM/bin/wrapper.conf'' to add the jar files to the list of jar files used+  * If running AwareIM as a Windows service modify the files ''AwareIM/bin/awareim.conf'' and ''AwareIM/bin/wrapper.conf'' to add the jar files to the list of jar files used
  
 {{simplenavi>:docs:3500:0200:}} {{simplenavi>:docs:3500:0200:}}
  • Last modified: 2023/04/05 05:50