Software Package Builder 3.0 User's Guide
)GVVKPI5VCTVGFYKVJ5QHVYCTG2CEMCIG$WKNFGT
7UKPIVJG52$%QOOCPF.KPG+PVGTHCEG
Chapter 446
Validating from the CLI
To validate a specified file from the command line, use the following two
options in combination:
•The -f option specifies the PSF to be edited or validated.
•The -V option validates the PSF indicated by the -f option.
Example To validate the PSF file located in /opt/SPB/demo/demo1, enter the
following command:
spb -f /opt/SPB/demo/demo1 -V
To suppress the note and warning messages displayed while validating
the PSF file located in /opt/SPB/demo/demo1, enter the following
command:
spb -f /opt/SPB/demo/demo1 -V -s nw
To validate a specified depot from the command line, use the following
two options in combination:
•The -d option specifies the depot to be edited or validated.
•The -V option validates the PSF indicated by the -d option.
Example To validate a depot /myDepot located on machine spbhome.fc.hp.com,
enter the following command:
spb -d spbhome.fc.hp.com:/myDepot -V
To suppress only error messages displayed while validating a depot
/myDepot located on machine spbhome.fc.hp.com, enter the following
command:
spb -d spbhome.fc.hp.com:/myDepot -V -s e
Incorporating SPB into Automated Processes
For packagers with automated processes, the build process usually
includes generating a PSF. To take advantage of SPB's validation
capability, include the SPB validation command after the PSF
generation step in the automated process.
Example To perform validation on the generated PSF, enter the following
command in your process: