Application Packaging Developer's Guide

clarch Utility

The clarch utility is used to archive a specific class in an ABI-style package in order to convert it to class archive format. The clarch command calls a custom archive script (archive-script) which is responsible for the creation of the custom archive in the archive directory of the package.

The format for the clarch command is:


clarch [-tuaq] [-d basedir] package archive-script class

Each option is described in the following table:

Option 

Description 

-a

Indicates an absolute archive. The root directory is used instead of the reloc directory.

-d basedir

Indicates the directory in which the package will be found. 

-u

Indicates that the archive should be undone, which dearchives this class. The contents of the archive are replaced in the reloc directory.

-q

Indicates a quiet mode. 

-t

Indicates a test mode. 

package

Indicates the name of the package to operate upon. 

class

Indicates the name of the class to archive.