HP Software Package Builder (SPB) manual Resolving, Specifications, Spb, Validation

Page 59

Advanced Features

Overview of Software Specification Attributes

• An entire product

Corequisites The corequisites attribute defines a fileset dependency that requires another fileset or product to be installed and configured in order for the dependent fileset to operate correctly. Multiple corequisites may be defined.

Prerequisites The prerequisites attribute defines a fileset dependency that requires another fileset to be installed and/or configured correctly before it can be installed or configured. Prerequisites imply an install-time dependency. Multiple prerequisites may be defined.

 

Ancestor Attribute

 

The ancestor attribute defines the name of a previous version of a fileset.

 

This attribute designates the list of filesets that will match the current

 

fileset when installed on a target system, if the match_target

 

installation option is specified.

 

Contents Attribute

 

The contents attribute defines the list of the software elements contained

 

within a subproduct or bundle. This attribute is automatically generated

 

when you create and add content to a bundle or subproduct. You can only

 

edit this attribute when it is used to define bundle contents.

Resolving

For a software specification attribute to be resolved with respect to other

Software

software on the source depot, it must be:

Specifications

• Complete (if the dependency is an entire product or subproduct it

 

 

must exist completely in the source depot),

 

• Free of errors (e.g., no incompatibility errors), and

 

• Available from the source depot or exist on the target host. (If the

 

dependency is not available from the source, the dependency must

 

exist on the target host.)

SPB and

When assigning dependencies in your PSF using the SPB GUI, you

Validation

should be aware of what SPB will and will not validate or resolve.

 

SPB will:

 

• Validate syntax for defined software specification attribute values

 

• Validate software specification attributes in the local PSF

Chapter 5

59

Image 59
Contents Manufacturing Part Number December EditionTrademark Notices WarrantyGovernment License Copyright NoticePublication History Typographic Conventions Contents Glossary Index Introduction to Software Software Package Builder Overview FeaturesFeatures Benefits Distributor Software Package Builder and HP-UX SoftwareSoftware Package Builder Overview Optimizing Java To access Java configuration informationSystem Requirements To download SPB from the Web Installation OverviewInstallation Specifying Packaging Policy Rules File Starting Software Package BuilderPage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software Packaging LifecycleSoftware packaging lifecycle is displayed in Figure TIP Organizing Filesystems Software Package StructureSoftware Elements Software Package Structure Software Package Hierarchy Software Package HierarchyStructural Function Relationship Element Structural Elements Functions and RelationshipsSoftware Package Structure Attributes Product Specification FileSoftware Element Recommended Attribute Required Attribute ValuesSoftware Element Required Attribute Recommended Attribute ValuesPackaging 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 product and add filesets Getting Started Using the SPB GUICreating a New PSF To create a PSFStep Click Add Directory Managing Fileset ContentStep From the Structure menu, select Add Elements Files To create a destination filesystemTo set file or directory permissions Validating a PSFTo set attributes Setting AttributesTo filter the attribute display You enter new data into the PSF, SPB re-validates the file Example Using the SPB Command Line InterfaceEditing from the CLI Validating from the CLIReturn Values Incorporating SPB into Automated ProcessesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box Options Using Advanced FeaturesRegions File MappingTo set the recursive option Setting FileMapping Options To set the file * or include option Permissions Mode field of the Directory Attributes and File AttributesFile Mode Access AddAttributes 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 To create a bundle Creating and Using a BundleAttribute Table Creating and Using a Vendor or CategoryTo add a vendor or category Attributes Creating and Using Vendor Defined AttributesTo create a vendor defined attribute To edit a vendor defined attributeDependency Attributes Overview of Software Specification AttributesSoftware Specification Attributes SPB SpecificationsResolving SoftwareSPB will not Software Specification StatusWorking with Dependency Attributes To add a dependency attribute using the and relationship Click Add To add a dependency attribute using the or relationshipSelect Structure Add Elements Corequisites Click Add SetStep 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