Java 是否可以在weblogic-application.xml中定义应用程序版本?

Java 是否可以在weblogic-application.xml中定义应用程序版本?,java,xml,weblogic,Java,Xml,Weblogic,需要在weblogic-application.xml中定义产品的版本。可能吗? 谢谢。对于WebLogic,应用程序版本位于清单文件的WebLogic应用程序版本属性中 <manifest file="${dist.dir}/MANIFEST.MF"> <attribute name="Created-By" value="${user.name}" /> <attribute name="Created-On" value

需要在weblogic-application.xml中定义产品的版本。可能吗?
谢谢。

对于WebLogic,应用程序版本位于清单文件的
WebLogic应用程序版本
属性中

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

我增加了清单文件并放置了

Manifest-Version: 1.0
Class-Path:
Created-By: Ronald
Weblogic-Application-Version: v1
在src/META-INF/manifest.MF中创建清单文件,并放置在文件内容中。您可以通过更改pro v1、v2等来更改版本

您可以查看以下链接以查看更多详细信息