简体   繁体   English

Java-如何更改应用程序的版本

[英]Java - How to change the version of the app

I am new to Java standalone app development. 我是Java独立应用程序开发的新手。

I implemented a Java standalone app using JavaFX, created the executable using Apache ant and installed it in my windows machine. 我使用JavaFX实现了Java独立应用程序,使用Apache ant创建了可执行文件并将其安装在Windows计算机中。

The version number of the app as 1.0 in the control panel. 该应用的版本号在控制面板中为1.0。 Now I want to change that version number. 现在,我想更改该版本号。 How do I do it? 我该怎么做?

We can find the build.xml here 我们可以在这里找到build.xml

在此处输入图片说明

I found this hint: 我发现了这个提示:

<fx:application id="abs-client" name="${application.title}" version="2.0"
                       mainClass="${javafx.main.class}"/>

here: http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm 此处: http//docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM