javaEE规范 Manifest Class-Path作用
来源:互联网 发布:大数据修炼系统5200 编辑:程序博客网 时间:2024/05/14 06:44
Manifest Class-Path
The Java EE specification provides the manifest Class-Path
entry as a means for a module to specify that it requires an auxiliary JAR of classes. You only need to use this manifest Class-Path
entry if you have additional supporting JAR files as part of your EJB JAR or WAR file. In such cases, when you create the JAR or WAR file, you must include a manifest file with a Class-Path
element that references the required JAR files.
The following is a simple manifest file that references a utility.jar
file:
Manifest-Version: 1.0 [CRLF]Class-Path: utility.jar [CRLF]
In the first line of the manifest file, you must always include the Manifest-Version
attribute, followed by a new line (CR | LF |CRLF) and then the Class-Path
attribute. More information about the manifest format can be found at: http://java.sun.com/j2se/1.4/docs/guide/jar/jar.html#JAR
The manifest Class-Path
entries refer to other archives relative to the current archive in which these entries are defined. This structure allows multiple WAR files and EJB JAR files to share a common library JAR. For example, if a WAR file contains a manifest entry of y.jar
, this entry should be next to the WAR file (not within it) as follows:
/<directory>/x.war/<directory>/y.jars
The manifest file itself should be located in the archive at META-INF/MANIFEST.MF
.
- javaEE规范 Manifest Class-Path作用
- JAVA:Duplicate name in Manifest: Class-Path
- Duplicate name in Manifest: Class-Path 问题处理方案
- Weblogic9.2 Duplicate name in Manifest: Class-Path错误
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- jar包下MANIFEST.MF 中的 Class-Path 设置
- 通过ANT生成MANIFEST.MF中的Class-Path属性
- tomcat 高版本 加载MANIFEST.MF 中 class-path 问题
- eclipse 打包 jar 读取外部的配置文件 图片等 fatjar MANIFEST.MF Class-Path
- 通过ANT打包jar并生成MANIFEST.MF中的Class-Path属性
- ANT构建JAR包时设置MANIFEST.MF的Class-Path属性的技巧
- maven打jar包同时添加MANIFEST.MF文件中Class-Path所有需要jar
- MAVEN插件打包SNAPSHOT包MANIFEST.MF中Class-Path带时间戳的问题
- manifest的作用
- manifest的作用(转)
- manifest的作用
- manifest的作用
- iOS---Xcode6.1标准Framework静态库制作方法
- Android中的SurfaceTexture
- MFC_改变鼠标形状
- java并发:CyclicBarrier的使用
- 导航栏隐藏不了
- javaEE规范 Manifest Class-Path作用
- Linux进程间通信之消息队列(二)
- nyoj 111 分数加减法 【遍历(有坑)】
- 使用jsoup获取网页数据实现加载更多和下拉刷新(二)
- nginx配置说明
- 文件上传和下载
- 测量webView页面性能技术方案
- web_custom_request函数之Body详解
- 如何检测使用Qt Creator制作的程序中的括号是否匹配