The secondaryTargetBuildDescriptor build
descriptor option specifies a build descriptor that guides the generation
of code being deployed to an application server, while code that is
targeted for other environments is being generated in the same generation
request.
The option is useful if you are generating a project with the following
parts in the EGL source folder:
- JSF handlers which will be deployed to an application server
- Programs that the JSF handlers call from a platform that is outside
of an application server
The option is also useful if you are generating a program (VGWebTransaction
stereotype) with the genVGUIRecords build
descriptor option set to YES so that both of the following kinds of
outputs are generated: the program, which is destined to run outside
of an application server, and the records (VGUIRecord stereotype)
that are referenced by the program.
If you wish to use one build descriptor to control generation of
two sets of parts, you can:
- Establish build descriptor options for the parts that are not
deployed to the application server.
- Assign a value to the secondaryTargetBuildDescriptor build
descriptor option for the parts that are deployed to the application
server.
In a case like that described earlier, the secondaryTargetBuildDescriptor build
descriptor option can reference a Build Descriptor part to use when
you generate JSF handlers.
Only the following build descriptor options have any effect in
the build descriptor part specified by the
secondaryTargetBuildDescriptor build
descriptor option:
- destDirectory
- destHost
- destPassword
- destPort
- destUserID
- genDirectory
- genProject
- genResourceBundle
- msgTablePrefix
- resourceBundleLocale
- system
- targetNLS
- tempDirectory