`
sanqian
  • 浏览: 29891 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论

Understanding the MANIFEST.MF

阅读更多
http://java.sun.com/docs/books/tutorial/deployment/jar/defman.html

pathname
META-INF/MANIFEST.MF

only one manifest file in an archive

form of "header: value" pairs
Manifest-Version: 1.0

JDK 1.1 manifest has entries for each file contained in the archive
引用
Manifest-Version: 1.0

Name: java/math/BigDecimal.class
SHA1-Digest: TD1GZt8G11dXY2p4olSZPc5Rj64=
MD5-Digest: z6z8xPj2AW/Q9AkRSPF0cg==

Name: java/math/BigInteger.class
SHA1-Digest: oBmrvIkBnSxdNZzPh5iLyF0S+bE=
MD5-Digest: wFymhDKjNreNZ4AzDWWg1Q==


Special-Purpose Manifest Headers

Applications Bundled as JAR Files
(Recall that the entry point is the class having a method with signature public static void main(String[] args).)

Main-Class: MyPackage.MyClass

Download Extensions
Class-Path: jar1-name jar2-name directory-name/jar3-name

Warning: The text file must end with a new line or carriage return. The last line will not be parsed properly if it does not end with a new line or carriage return.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics