Software Distributor Administrator Guide (September 2010)

# swremove -d product @ depot
# swpackage -s psf <other options> product @ depot
10.6.6 Packaging In Place
If you set the package_in_place option to true, swpackage packages each of the
specified products such that the source files are not copied into the target depot. Instead,
swpackage inserts references to the source files that make up the contents of each
fileset. Control scripts are always copied.
This feature lets you package products in a development or test environment without
consuming the full disk space of copying all the source files into the target depot. Disk
space analysis is skipped when the package_in_place option is true.
The source files must remain in existence. If some are deleted, any operations that use
the depot as a source (for example, installing the product with swinstall) will fail
when they try to access the missing source files.
If a source file changes and the product is not repackaged, the information that describes
the source file will be incorrect (for example, the file checksum). This incorrect
information will not prevent the use of that target depot as a source (for example,
installing with swinstall). However, the incorrect information will be propagated
along each time the product is copied or installed from the depot. The result is that a
swverify operation on the installed product always flags the inconsistencies with an
error unless you disable the check of file contents.
10.6.7 Following Symbolic Links in the Source
If you set the follow_symlinks option to true, swpackage follows every source file
that is a symbolic link and include the file it points to in the packaged fileset.
swpackage also follows each source directory that is a symbolic link, which affects
the behavior of the file * keyword (recursive file specification). Instead of including
just the symbolic link in the packaged fileset, the directory it points to and all files
contained below it will be included in the packaged fileset.
The default value for this option is false, which causes symbolic links that are
encountered in the source to be packaged as symbolic links. The symbolic link can
point to a file that is also part of the fileset, or to a file that is not.
10.6.8 Generating File Revisions
If you set the include_file_revisions option to true, swpackage examines each
source file using the what and ident commands to extract an SCCS or RCS revision
value and assign it as the file’s revision attribute.
Because a file can have multiple revision strings embedded within it, swpackage uses
the first one returned. It extracts the revision value from the full revision string and
stores it.
10.6 Packaging Tasks and Examples 265