HP Software Package Builder (SPB) Setting File, Mapping Options, To set the recursive option

Page 48

Advanced Features

Managing Fileset Content

Recursive - The recursive option adds the selected directory and all its contents recursively. Individual filenames are listed in the PSF.

File * - This option is similar to the Recursive option; however, all files are implicitly added and represented only by an asterisk ( * ). The individual filenames are not listed in the PSF using this option. If you want to recursively include files and directories from the Source Filesystem without explicitly listing each file and directory, select the File * option.

Include - This option allows you to enable the ability to map a file to the Destination Filesystem, which consists of a list of files, in PSF syntax, to include in the package.

IMPORTANT

 

If File * is used to add files, you will not be able to display the individual

 

 

filenames from the Destination Filesystem. This makes it difficult to

 

 

determine if you are delivering more files or directories than intended. A

 

 

common problem encountered when using the File * option is the

 

 

accidental inclusion of source control directories (e.g., RCS, CVS) and/or

 

 

editor scratch files to the package. Selecting the Recursive option is an

 

 

alternative way to explicitly add all files and directories under a

 

 

particular directory. Using the Recursive option allows the packager to

 

 

display and verify the files and directories that will be included, avoiding

 

 

accidental inclusion of unnecessary files.

 

 

 

Setting File

 

You can set one of three file mapping options using the following steps:

Mapping Options

 

 

To set the recursive option

Step

1. Select the Recursive checkbox.

Step

2. Once the appropriate source and destination directories have been

 

 

selected, click Add.

Step

3. Continue adding directories recursively or clear the Recursive

 

 

checkbox.

48

Chapter 5

Image 48
Contents Edition Manufacturing Part Number DecemberWarranty Government LicenseCopyright Notice Trademark NoticesPublication History Typographic Conventions Contents Glossary Index Introduction to Software Features Features BenefitsSoftware Package Builder Overview Software Package Builder and HP-UX Software DistributorSoftware Package Builder Overview To access Java configuration information System RequirementsOptimizing Java Installation Overview InstallationTo download SPB from the Web Starting Software Package Builder Specifying Packaging Policy Rules FilePage Software Packaging Software Packaging Overview Software Packaging Lifecycle Software packaging lifecycle is displayed in FigureSoftware Packaging Lifecycle 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 AttributesRequired Attribute Values Software Element Required AttributeRecommended Attribute Values Software Element Recommended AttributePackaging Policies Page Software Package Builder Introduction Screen Regions Package StructureAttribute Table Messages Tab Policy Help TabPSF View Menus Tool BarAdditional Information Page Getting Started with Software Getting Started Using the SPB GUI Creating a New PSFTo create a PSF To create a product and add filesetsManaging Fileset Content Step From the Structure menu, select Add Elements FilesTo create a destination filesystem Step Click Add DirectoryValidating a PSF To set file or directory permissionsSetting Attributes To filter the attribute displayTo set attributes You enter new data into the PSF, SPB re-validates the file Using the SPB Command Line Interface Editing from the CLIValidating from the CLI ExampleIncorporating SPB into Automated Processes Return ValuesAdditional Information Advanced Features Managing Fileset Content Manage Fileset Content Dialog Box Using Advanced Features RegionsFile Mapping OptionsSetting File Mapping OptionsTo set the recursive option To set the file * or include option Mode field of the Directory Attributes and File Attributes File Mode AccessAdd PermissionsTo apply a mode to all files Step Select Apply to AllAttributes table To change the default representation of the Mode field Step Select the Advanced Options buttonPermissions Selections Managing Fileset Content Creating and Using a Subproduct To create a subproductSubproduct Creating and Using a Bundle To create a bundleCreating and Using a Vendor or Category To add a vendor or categoryAttribute Table Creating and Using Vendor Defined Attributes To create a vendor defined attributeTo edit a vendor defined attribute AttributesOverview of Software Specification Attributes Software Specification AttributesDependency Attributes Specifications ResolvingSoftware SPBSoftware Specification Status Working with Dependency AttributesSPB will not To add a dependency attribute using the and relationship To add a dependency attribute using the or relationship Select Structure Add Elements CorequisitesClick Add Set Click AddTo add remote content as a dependency attribute Click Add ContentStep 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