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

joh*_*ode 5 java xml weblogic

需要在 weblogic-application.xml 中定义我们产品的一个版本。是否可以?谢谢。

Tim*_*ter 4

对于 WebLogic,应用程序版本位于Weblogic-Application-Version清单文件的属性中。

    <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>
Run Code Online (Sandbox Code Playgroud)