Protecting Multiple JAR Files in a Single Directory
You can protect multiple JAR files in a single directory for a Java application. The following consideration apply:
>All protected JAR files in a given directory should have same output directory specified in Envelope so that Envelope generates common runtime dependent files.
>After protecting multiple JARs for an application in the same output directory, each protected JAR file can be moved to any directory of the application as required. However, you must copy DGC_* files to each directory where you place a protected JAR file.
>For JAR files that were protected using Sentinel LDK v.6.4 or earlier: Envelope supports backward compatibility for existing protected JAR files. The current version of Envelope can protect multiple JAR file in a directory that contains one older protected JAR file.
To accomplish this:
a.Copy a JAR file that was protected with Sentinel LDK v. 6.4 or earlier and all its run time dependencies (that were generated at the time of protection and shipped with the protected JAR file) into the output directory.
b. Ensure that the new JAR files to protect are directed to the same directory.
c.After protection, all JAR files should be moved to the original directory where the unprotected JAR files were located. You must copy the DGC_* file from the output directory to each folder where a protected JAR file is located.