The Java EAB makes references to various CA Gen runtime classes. In order for the Java compilation to succeed, a JAR file containing the CA Gen classes must be referenced.
Follow these steps:
set JAVA_HOME=C:\Program Files\Java\jre#.#.#_##\
cd "%Genxx%" cd gen\classes
Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.
Note: It is good practice to put the CA Gen version number in the JAR file's name.
MKJAVART genrt.xx.jar EJB
Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.
Alternatively, the CA Gen runtime JAR file is created during the build of the generated application. The file, named genrt.xx.jar where xx is the CA Gen version number, is located in the <model-directory>\java\deploy.j2ee. This file can be copied to the directory where EAB sources have been copied and may be referenced directly.
|
Copyright © 2013 CA.
All rights reserved.
|
|