我仍然对为什么 MANIFEST.MF 文件包含有关打包在存档中的其他文件的信息感到困惑。我读过这个tutorial在 list 上,他们没有解释为什么它包含有关其他文件的信息。
塔
最佳答案
报价为
The manifest can also contain information about the other files that are packaged in the archive. Exactly what file information should be recorded in the manifest depends on how you intend to use the JAR file. The default manifest makes no assumptions about what information it should record about other files.
重点是它不一定,但可能会。
例如,OSGi 存储有关包版本和依赖项的信息。
关于java - 为什么 MANIFEST.MF 文件包含有关打包在存档中的其他文件的信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20656687/