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
  •  | 
  •  

Question

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

Any ideas?

Était-ce utile?

La solution

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.
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top