sw_sel "Product XYZ" {

description = "Product XYZ base runtime"

sw_source = "Applications for 11i Version 1" sw_category = "SiteApps"

sd_software_list = "ProductXYZ,r=4.0,v=XYZCorp"

}

sw_sel "Product XYZ – 4GL" {

description = "4GL option for Product XYZ" sw_source = "Applications for 11i Version 1" sw_category = "SiteApps"

corequisite = "Product XYZ"

sd_software_list = "ProductXYZ4GL,r=4.0,v=XYZCorp"

}

See "Using a sw_sel to apply kernel parameters" for exrequisite examples.

exrequisite [+]= tag-string

Defines an exclusive relationship between the current sw_sel

and the one referenced by tag-string. This will prevent the referenced sw_sel from being selected any time that this sw_sel is selected (and vice-versa). The += operator may be used to define multiple exrequisites.

Instead of automatically selecting something for installation based upon the name of a sw_sel clause, exrequisite instead works on the name of a sw_category60. This form could be used to set up two sets of incompatible software in different software categories and to use the name of the sw_category as an exrequisite to software in the other category.

exrequisite = sw_category

 

 

Specifies that

this sw_sel is to be exclusive with all other

software in the

same

category. This attribute

can be used

in addition

to

other

exrequisites and does

not

override them

even though

the

+= operator is not used in

this case.

The load_with_any configuration item gives you flexibility in automatically selecting software to be installed, based upon what other software may be selected for installation. By using the = sign with load_with_any, you specify that when any of the listed sw_sel clauses are selected, this sw_sel is selected also.

load_with_any = tag-string [[ tag-string]...]

Specifies that when any of the one or more sw_sels listed are selected, that this sw_sel should be selected for loading as well. Multiple tags may be listed separated by the character.

The following form enables regular expression matching (not EREs, only those allowed by fnmatch(3)) to select the software or category that software should be loaded with.

load_with_any ~ tag-regexp [[ tag-regexp ]...]

load_with_any ~ category.tag-regexp ...

60Be careful when creating sw_category names that are the same as sw_sel names. Using exrequisites can cause Ignite-UX to produce unexpected results if you use the same name for an existing sw_sel and sw_category.

128