Home | Previous Page | Next Page   Creating Java User-Defined Routines >

Using a Manifest File

The manifest file specifies the names of the deployment descriptor files that a JAR file contains. The m option of the jar command incorporates the manifest file into the default manifest of the JAR.

The following example shows the manifest file, manifest.txt, for a JAR with two deployment descriptors:

Name: deploy1.txt
SQLJDeploymentDescriptor: TRUE

Name: deploy2.txt
SQLJDeploymentDescriptor: TRUE

The following example shows the jar command that incorporates manifest.txt into a JAR file:

jar cvmf manifest.txt admin.jar deploy*.txt *.class
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]