Code sample

See the $REPRA_HOME/sample/client/MyMsgGenerator.java (UNIX) or %REPRA_HOME%\sample\client\MyMsgGenerator.java (Windows) file for an example for the customized AE message generator class.

StepsCompiling the customized message generator

  1. Change to the location of your message generator:

  2. Use the Java compiler to define the -classpath parameter with the required libraries to compile the customized class. For example:

StepsVerifying the compilation

  1. If the compilation command finishes without any error messages, go to the customclasses directory.

  2. Verify that MyMsgGenerator.class exists in com\mycompany (Windows) or com/mycompany (for UNIX).

  3. If MyMsgGenerator.class is not in com\mycompany, or if the compilation finished with errors, review the design.