

External Action Blocks in Java › User Action Outside of CA Gen › Compile the EABs
Compile the EABs
The javac command is used to compile the EAB source .java file into a .class file. Note the following:
- The command must be executed from the directory above the package name directory. For example, if the EAB has a package name of com.mycompany.accounting and the Java file itself is located in c:\my eabs\com\mycompany\accounting, the javac command must be executed from the c:\my eabs directory.
- Specify to the javac command the source and target versions to ensure compatibility with the compiled generated code.
- Specify a classpath that includes the CA Gen runtime JAR file.
- Specify the files to compile with the wildcard asterisk (*). The asterisk is used to cause the EAB file plus its import and export view class files to be compiled as a single unit.
For example:
javac -source 1.5 -target 1.5 -classpath "c:\my eabs\genrt.xx.jar" com\mycompany\account\demoeab*.java
Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.
Copyright © 2013 CA.
All rights reserved.
 
|
|