SUPPORT commands


PROGRAM NAME

kpack - pack up toolboxes or objects

DESCRIPTION

kpack is a Perl script which will create Khoros pack files for a set of software objects. kpack is typically used in conjunction with kcrsum, kcksum, and kunpack, to create Khoros pack files. Khoros pack files are a mechanism for distributing changes to software objects. More information about these tools can be found in Chapter 5 of the SUPPORT toolbox manual, which includes a tutorial on the use of kpack and friends.

If you have a kroutine object banana in the fruit toolbox, you could use the following command to create a Khoros pack of the files which have changed since kcrsum was last run:

% kpack -tb fruit -oname banana -cksum -create fruit-banana.pack

This creates a pack file called fruit-banana.pack, which can be extracted, or applied to a different copy of the fruit toolbox, using the following command:

% kunpack -file fruit-banana.pack

If you don't include the -cksum, then the entire software object will be included in the pack.

You can create a pack file with all changes to any software objects in a toolbox with the following command:

% kpack -tb fruit -cksum -create fruit.pack

If you are using cvs and do not want kpack to complain about the CVS directory use the -ignorecvs flag.

% kpack -tb fruit -ignorecvs

This routine uses klint to verify to integrity of the object. It is recommended that if klint fails that the toolbox or object not be packed.

REQUIRED ARGUMENTS

none

OPTIONAL ARGUMENTS

none

EXAMPLES

SEE ALSO

kunpack, kcrsum, kcksum, klint, Chapter 5 of the Support toolbox manual.

RESTRICTIONS

REFERENCES

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.