Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

xml

weblogic

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

like image 266
johnny-b-goode Avatar asked Nov 27 '12 12:11

johnny-b-goode


1 Answers

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>
like image 192
Tim Sylvester Avatar answered Nov 15 '22 01:11

Tim Sylvester