开发者

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

开发者 https://www.devze.com 2023-03-19 01:35 出处:网络
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.

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

精彩评论

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