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

Page 13
Image 13
HP Software Package Builder (SPB) manual Starting Software Package Builder, Specifying Packaging Policy Rules File