In Install4j - How can I read the version from an external file?

一笑奈何 提交于 2019-12-06 16:02:12

I would suggest invoking install4j from your build process, install4j supports ant, gradle and maven and can also be invoked with a command line executable.

In that case, you can set the version

  • with the release attribute of the ant task
  • with the release attribute of the gradle task
  • by overriding the release property of the maven plugin, the maven plugin automatically uses the version in the POM.
  • by passing the --release argument to the command line compiler

For other things that you want to customize from the build process, you can use compiler variables.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!