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

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