The secondaryTargetBuildDescriptor build
descriptor
option specifies a build descriptor that guides the generation of
code being
deployed to a Web application server, while code that is targeted
for other
environments is being generated in the same generation request.
This
is useful if you are generating a project with the following parts
in the EGL source folder:
- JSF handlers which will be deployed
to a Web application server
- Programs that the JSF handlers
call from a platform that is outside of
a Web application server
It is also useful if you
are generating a VGWebTransaction program with
the genVGUIRecords build descriptor option
set to
YES so that both the program (destined to run outside of a Web application
server) and the VGUIRecords referenced by that program are generated.
If you wish to use one build descriptor to control generation of
two sets
of generatable parts, you can:
- Establish build descriptor options
for the generatable parts that are
not deployed to the Web application server.
- Assign a value
to the secondaryTargetBuildDescriptor build
descriptor option for the generatable parts that are deployed to the
Web 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