secondaryTargetBuildDescriptor

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:

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:

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:

Feedback