johnny-b-goode
johnny-b-goode

Reputation: 3893

Is it possible to define an application version in weblogic-application.xml?

Need to define a version of our product in weblogic-application.xml. Is it possible? Thanks.

Upvotes: 5

Views: 5498

Answers (2)

Ronald Coarite
Ronald Coarite

Reputation: 4726

I did increasing the manifest file and placing

Manifest-Version: 1.0
Class-Path:
Created-By: Ronald
Weblogic-Application-Version: v1

Create the manifest file in src / META-INF / MANIFEST.MF and placed in the file content. You can change the version by changing pro v1, v2 etc.

You can check the following link to see more details.

http://andrejusb.blogspot.com/2011/12/how-to-set-ear-version-for-adf.html

Upvotes: 3

Tim Sylvester
Tim Sylvester

Reputation: 23128

For WebLogic, the application version goes in the Weblogic-Application-Version attribute in the manifest file.

    <manifest file="${dist.dir}/MANIFEST.MF">
        <attribute name="Created-By" value="${user.name}" />
        <attribute name="Created-On" value="${build.timestamp}" />
        <attribute name="Ant-Version" value="${ant.version}" />
        <attribute name="Java-Version" value="${ant.java.version}" />
        <attribute name="Weblogic-Application-Version" value="${project.version}" />
    </manifest>

Upvotes: 4

Related Questions