Build options and option groups can appear in the following sections of the configuration XML file:
General Configuration Items
Build Areas
Transitions
XML Example 1 |
Description |
<Options> |
Opening tag for the options defined within a section. All options for the option are defined within the opening tag and the closing tag. |
<Option Id="2"> |
Opening tag for this particular option that contains the unique id for it. |
<name> ![CDATA[JAVA-HOME]] </name> |
Option name. This is the name used by the build script writer to reference this option. |
<OptionValues> |
Opening tag for the values for this option. Since an option may contain 1 to many values, this tag encompasses all the possible values for the option. |
<OptionValue Id="4"> |
Opening tag for a single option value that contains the unique id for it. |
<value> ![CDATA[c:\j2sdk1.4.2_12]] </value> |
Option value. |
<buildToolId>0</buildToolId> |
Build Tool id from which the option value was selected. |
<ruleId>0</ruleId> |
Build Tool rule id from which the option value was selected. |
</OptionValue> |
Closing tag for a single option value. |
</OptionValues> |
Closing tag for option values. |
</Option> |
Closing tag for a single option. |
</Options> |
Closing tag for entire options section. |
<OptionGroupIds> # </OptionGroupIds> |
Opening and closing tags for an option group. The numeric values of the option group are listed between the opening and closing tags. |