To specify the Generation mode, you can use either of the following two methods:
Specify the following in your build script:
<workspacePreferenceSet
preferencescope="instance"
preferencequalifier="com.ibm.etools.egl"
useeclipseprefs="true"
preferencename="GenReferencedDependentParts"
preferencevalue="true" />
| Attribute | Description | Required |
|---|---|---|
| project | The name of the project that includes the part to be generated. | Yes |
| part | The part that is to be generated. The value can be generic. For example, to generate the whole project, set the value to *. To generate all parts within the pkg package, set the value to pkg.*. | No, the default is *. |
| buildDescriptorFile | The default build descriptor file to generate the file. |
|
| buildDescriptorName | The build descriptor name in the build descriptor file. |
|
| bdoption | The build descriptor option to override the
build descriptor file settings. Multiple values can be set. Valid
format is as follows: {$bdoption1}=value1,
|
No |
| symparm | A symbolic parameter and the related value.
If the value includes a space, embed the value in quotation marks.
If multiple symparm entries reference the same symbolic parameter,
the last entry is in effect. Valid format is as follows: {$symparm}=value1, |
No |
| failOnError | Whether or not the build should fail if there is an error. | No, the default is true. |
| verbose | If true, show all the logs. If false, only show important logs. | No, the default is true. |
| generationListenerClass | The class name of the customized generation listener. To use this attribute in the ant script, you must define the generationListener class which implements GenerationResultsListener. Refer to Writing Java code to capture details of code generation for how to define the generationListener class. | No |