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.
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.
Other WebLogic components add a revision to the jar (war) file name, eg: xxx_warfile_rev1.0.war. So a "_rev1.0" (or appropriate version) naming is at least consistent with other WebLogic functions. Assuming you're only trying to version the entire .war as a single release, that's probably sufficient.
I managed to version the WAR file for weblogic through Manifest.mf file. If facing the same issue you can have a look at below mentioned URL -
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.