开发者

How can I get attributes from the MANIFEST.MF file in a EAR-packaged application?

I'd like to be able to get attributes like Implementation-Version that are set in my EAR file's MANIFEST.MF, so that I can make them available in a webapp.

What's the best way to go about doing t开发者_运维百科hat?

Thanks


There is no way to do this within the standards. I would suggest extracting the data at build time and copying it into a more convenient location inside the WAR.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜