Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JAR Manifest File Format Specification
What Is Specifiction of a JAR manifest file?
✍: FYIcenter.com
If a manifest file is provided in a JAR file, it must meet the following specifications:
1. The manifest file must be locaed at META-INF/MANIFEST.MF in the JAR file.
2. The content of a manifest file can be divided into sections separated by empty lines.
3. A section is made up by lines of "name: value" pairs (also called headers or attributes).
4. The following is the technical definition of a manifest file:
manifest-file: main-section newline *individual-section
main-section: version-info newline *main-attribute
version-info: Manifest-Version : version-number
version-number : digit+{.digit+}*
main-attribute: (any legitimate main attribute) newline
individual-section: Name : value newline *perentry-attribute
perentry-attribute: (any legitimate perentry attribute) newline
newline : CR LF | LF | CR (not followed by LF)
digit: {0-9}
section: *header +newline
nonempty-section: +header +newline
newline: CR LF | LF | CR (not followed by LF)
header: name : value
name: alphanum *headerchar
value: SPACE *otherchar newline *continuation
continuation: SPACE *otherchar newline
alphanum: {A-Z} | {a-z} | {0-9}
headerchar: alphanum | - | _
otherchar: any UTF-8 character except NUL, CR and LF
; Also: To prevent mangling of files sent via straight e-mail, no
; header will start with the four letters "From".
Here is a sample of a JAR manifest file:
Manifest-Version: 1.0 Implementation-Version: 1.1.1 Specification-Title: JavaBeans(TM) Activation Framework Specification Specification-Version: 1.1 Extension-Name: javax.activation Created-By: 1.4.2 (Sun Microsystems Inc.) Implementation-Vendor-Id: com.sun Implementation-Vendor: Sun Microsystems, Inc. Specification-Vendor: Sun Microsystems, Inc. SCCS-ID: @(#)jaf.mf 1.2 05/05/23 Name: javax/activation/MimeTypeParseException.class SHA1-Digest: lE5grROfW1qsYZdtOlB7SOrtlRU= Name: javax/activation/CommandInfo.class SHA1-Digest: pl22Lz5hCL9DxzbXDiAYGov6BtI= ...
2016-04-21, ∼3271🔥, 0💬
Popular Posts:
JDK 17 jdk.incubator.vector.jmo dis the JMOD file for JDK 17 HTTP Server module. JDK 17 Incubator Ve...
JDK 11 jdk.crypto.ec.jmod is the JMOD file for JDK 11 Crypto EC module. JDK 11 Crypto EC module comp...
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
Apache Commons CLI Source Code Files are provided in the source package file commons-cli-1.5.0-sourc. ..
What Is XMLBeans xbean.jar 2.6.0? XMLBeans xbean.jar 2.6.0 is the JAR file for Apache XMLBeans 2.6.0...