Manifest File - RetroGuard Documentation


Prev   Contents   Next

When a Jar file is created, a manifest of its contents is generated by default and stored in the text file 'META-INF/MANIFEST.MF' in the Jar. In this manifest there is a section for each file in the Jar containing the file name, some message digests (which are like checksums for verifying the file contents), and possibly some additional information such as the line 'Java-Bean: True' if the file is a JavaBean class. Obfuscation of classes causes the file names and the message digests in the manifest to become invalid.

RetroGuard generates a new manifest for the obfuscated Jar with the obfuscated class and resource names, optionally with fresh MD5 and SHA-1 message digests, and with the additional information, such as 'Java-Bean' specifiers, copied over from the original manifest file.


Prev   Contents   Next
 Copyright © 1998-2007 Retrologic Systems.
 All rights reserved.