How can I add entries into the MANIFEST.MF file during build-time with IntelliJ IDEA 12?

StackOverflow https://stackoverflow.com/questions/19727533

  •  02-07-2022
  •  | 
  •  

문제

I want to add Weblogic-Application-Version: 2013-BLAH-BLAH to the manifest for deployment directly to weblogic.

Any ideas?

도움이 되었습니까?

해결책

IntelliJ IDEA can not do that automatically via its build runner. It is an IDE and not a build tool. So its build features, while decent, are limited. You have two options:

  1. Manually put the version into the Manifest.MF file before building with IDEA.
  2. Use a build tool such as Ant, Maven, or Gradle to build your webapp and add the entry.
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top