programPackageName
The build descriptor option programPackageName names the Java™ package that receives EGL-generated output during program generation. The option does not change the case of any letter in the name specified. The option is used only when generating Java™ output for an EGL program.
If you name the Java™ package with the same name as an EGL package, you may overwrite output files either when you generate parts stored in the EGL package or when you generate a program and use the name in option programPackageName.
There are several ways to determine the Java™ package name used when you specify a call or transfer statement
or when you specify a show statement that
returns control. Those ways are as follows, in order of decreasing
priority:
- Code the package name in the statement, as in the following example:
Call my.pkg.MyProgram; - Specify a name in the build descriptor option programPackageName.
- Do not specify the package name explicitly, but accept the EGL package name specified in an import statement that makes available the EGL part being invoked.
- Specify the package name when defining the related entry in the linkage options part.
- Use the Java™ package that corresponds to the EGL-generated code. In most cases, use the Java™ package for the EGL code that contains the call, transfer, or show statement. However, if the invocation was inside a standalone EGL function, use the Java™ package for the EGL-generated code that invokes the function.