HP Software Package Builder (SPB) manual To add a dependency attribute using the or relationship

Page 62

Advanced Features

Overview of Software Specification Attributes

 

 

 

To add a dependency attribute using the OR relationship

 

 

 

 

IMPORTANT

 

 

Use the OR relationship when you need to specify multiple

 

 

 

corequisites or prerequisites attributes in a set, where only one of

 

 

 

the set must satisfy the dependency. An OR relationship is specified

 

 

 

within an OR corequisites set (or OR prerequisite set). The software

 

 

 

specification value for a given OR set is comprised of the individual

 

 

 

software specification for each corequisites (or prerequisites)

 

 

 

attribute it contains. When a new corequisite or prerequisite is added to

 

 

 

an OR set, the software specification value for that attribute is appended

 

 

 

to the OR set's software specification and separated by the pipe symbol

 

().

 

 

 

Step

9. From the Package Structure, select the fileset for which you want to

 

 

 

add an OR corequisites set.

Step 10. Select Structure > Add Element(s) > Corequisites.

The Corequisites dialog box appears.

Step 11. Select the OR Relations tab.

Step 12. Click Add Set.

A new, empty OR corequisites set is added to the Fileset Content.

Step 13. From the Fileset Content, select the appropriate OR corequisites set.

Step 14. From the Available Content, select the software element(s) you want to add to the OR corequisites set.

Multiple software elements may be selected to add to the set.

Step 15. Click Add.

The OR corequisites set now contains the additional corequisites attributes.

Step 16. Click OK once all OR corequisites sets and their contents have been added.

62

Chapter 5

Image 62
Contents Edition Manufacturing Part Number DecemberCopyright Notice WarrantyGovernment License Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Software Package Builder Overview FeaturesFeatures Benefits Software Package Builder and HP-UX Software DistributorSoftware Package Builder Overview Optimizing Java To access Java configuration informationSystem Requirements To download SPB from the Web Installation OverviewInstallation Starting Software Package Builder Specifying Packaging Policy Rules FilePage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software Packaging LifecycleSoftware packaging lifecycle is displayed in Figure TIP Software Package Structure Organizing FilesystemsSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Elements Functions and Relationships Structural Function Relationship ElementSoftware Package Structure Product Specification File AttributesRecommended Attribute Values Required Attribute ValuesSoftware Element Required Attribute Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Attribute Table Screen RegionsPackage Structure PSF View Messages TabPolicy Help Tab Additional Information MenusTool Bar Page Getting Started with Software To create a PSF Getting Started Using the SPB GUICreating a New PSF To create a product and add filesetsTo create a destination filesystem Managing Fileset ContentStep From the Structure menu, select Add Elements Files Step Click Add DirectoryValidating a PSF To set file or directory permissionsTo set attributes Setting AttributesTo filter the attribute display You enter new data into the PSF, SPB re-validates the file Validating from the CLI Using the SPB Command Line InterfaceEditing from the CLI ExampleIncorporating SPB into Automated Processes Return ValuesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box File Mapping Using Advanced FeaturesRegions OptionsTo set the recursive option Setting FileMapping Options To set the file * or include option Add Mode field of the Directory Attributes and File AttributesFile Mode Access PermissionsAttributes table To apply a mode to all filesStep Select Apply to All Permissions Selections To change the default representation of the Mode fieldStep Select the Advanced Options button Managing Fileset Content Subproduct Creating and Using a SubproductTo create a subproduct Creating and Using a Bundle To create a bundleAttribute Table Creating and Using a Vendor or CategoryTo add a vendor or category To edit a vendor defined attribute Creating and Using Vendor Defined AttributesTo create a vendor defined attribute AttributesDependency Attributes Overview of Software Specification AttributesSoftware Specification Attributes Software SpecificationsResolving SPBSPB will not Software Specification StatusWorking with Dependency Attributes To add a dependency attribute using the and relationship Click Add Set To add a dependency attribute using the or relationshipSelect Structure Add Elements Corequisites Click AddStep Select Structure Add Elements Corequisites To add remote content as a dependency attributeClick Add Content Using Control Scripts Using Control Scripts Additional Information Page Glossary GlossaryMultiple architecture Optional attribute Tag Unconfigure script Unconfigure script Glossary Index Software elements, 20 bundle, 21 category Index