Version number to WAR file

HarsH picture HarsH · May 13, 2013 · Viewed 14.3k times · Source

Is it possible to add version number to WAR file specific to weblogic server ? To provide build files to client, they want us to get version number in WAR file. Is it possible or is there any standard approach for this ?

PN : Also I'm using jDeveloper as an IDE.

Answer

martinez314 picture martinez314 · May 13, 2013

It is appropriate to add version information to a JAR/WAR manifest file. See here for more information.

Specification-Title: Java Utility Classes
Specification-Version: 1.2
Specification-Vendor: Example Tech, Inc.
Implementation-Title: java.util
Implementation-Version: build57
Implementation-Vendor: Example Tech, Inc.