HP Software Package Builder (SPB) manual Starting Software Package Builder

Page 13

Introduction to Software Package Builder

Starting Software Package Builder

Specifying the

Packaging Policy

Rules File

Starting Software Package Builder

To launch SPB from the command line, enter:

/opt/spb/bin/spb

The SPB GUI will launch and by default, the application will use the packaging policy rules file appropriate for the HP-UX release version you are running on your system. The packaging policy rules file is an Extensible Markup Language (XML) formatted file which describes the legal PSF syntax and any field value constraints for your PSF. The default policies supplied with SPB are located in /opt/spb/data and are named as follows:

For HP-UX 11i v2 (B.11.23) - the default policy file is

112XPolicies_SD.xml

For HP-UX 11i v1 (B.11.11) - the default policy file is

11XPolicies_SD.xml

You have the option of specifying a packaging policy rules file other than the default by using the -roption from the command line.

To launch SPB and specify the policy rules file, enter:

spb -r /opt/spb/data/<Myrules.xml>

NOTE

If only a file name is given as the argument, SPB will look in the default

 

policy rules file directory for the specified file. You can also specify an

 

absolute path to the file.

 

For additional information on this and other SPB command line options,

 

 

refer to the spb (1M) manpage.

Chapter 1

13

Image 13
Contents Manufacturing Part Number December EditionGovernment License WarrantyCopyright Notice Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Features Benefits FeaturesSoftware Package Builder Overview Distributor Software Package Builder and HP-UX SoftwareSoftware Package Builder Overview System Requirements To access Java configuration informationOptimizing Java Installation Installation OverviewTo download SPB from the Web Specifying Packaging Policy Rules File Starting Software Package BuilderPage Software Packaging Software Packaging Overview Software packaging lifecycle is displayed in Figure Software Packaging LifecycleSoftware Packaging Lifecycle 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 Required Attribute Required Attribute ValuesRecommended Attribute Values Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Package Structure Screen RegionsAttribute Table Policy Help Tab Messages TabPSF View Tool Bar MenusAdditional Information Page Getting Started with Software Creating a New PSF Getting Started Using the SPB GUITo create a PSF To create a product and add filesetsStep From the Structure menu, select Add Elements Files Managing Fileset ContentTo create a destination filesystem Step Click Add DirectoryTo set file or directory permissions Validating a PSFTo filter the attribute display Setting AttributesTo set attributes You enter new data into the PSF, SPB re-validates the file Editing from the CLI Using the SPB Command Line InterfaceValidating from the CLI ExampleReturn Values Incorporating SPB into Automated ProcessesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box Regions Using Advanced FeaturesFile Mapping OptionsMapping Options Setting FileTo set the recursive option To set the file * or include option File Mode Access Mode field of the Directory Attributes and File AttributesAdd PermissionsStep Select Apply to All To apply a mode to all filesAttributes table Step Select the Advanced Options button To change the default representation of the Mode fieldPermissions Selections Managing Fileset Content To create a subproduct Creating and Using a SubproductSubproduct To create a bundle Creating and Using a BundleTo add a vendor or category Creating and Using a Vendor or CategoryAttribute Table To create a vendor defined attribute Creating and Using Vendor Defined AttributesTo edit a vendor defined attribute AttributesSoftware Specification Attributes Overview of Software Specification AttributesDependency Attributes Resolving SpecificationsSoftware SPBWorking with Dependency Attributes Software Specification StatusSPB will not To add a dependency attribute using the and relationship Select Structure Add Elements Corequisites To add a dependency attribute using the or relationshipClick Add Set Click AddClick Add Content To add remote content as a dependency attributeStep Select Structure Add Elements Corequisites 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