IntelliJ IDEA 13 JavaFX Artifact Versioning

I'm switching from NetBeans to IntelliJ IDEA 13.0.2 for an existing JavaFX project and I've had very little trouble setting everything up, but I am missing one setting. I'm using the artifact from IntelliJ to build MSI and EXE installers for the alpha/beta test versions. This works fine, but it always shows version 1.0 when I use the installer as well as in the name of the MSI and EXE files. How do I change this to the correct version number?

Thanks!

4 comments
Comment actions Permalink

Hello Justin,

Try to set "Custom manifest attributes" in "Project Structure - Artifacts - Java FX - Edit Attributes button".
Add

Value: <Your version>
0
Comment actions Permalink

That overwrote the value in the manifest of the JAR, but did not affect the installer.  It still seems to show 1.0 no matter what.  Any other ideas?

0
Comment actions Permalink

Seems that the only way is to change artefact name manually.
You are welcome to create feature request in YouTrack for this issue: http://youtrack.jetbrains.com/issues/IDEA.

0
Comment actions Permalink

@Justin Zak, i'm using IntelliJ Idea for JavaFX apps, and installing Wix Toolset 4.0, and I can make EXE extentions fine, but I'm trying to make a native MSI package from the IDE but it always gives me the error message:

Error:Java FX Packager:
BUILD FAILED
C:\Users\Tamer Yousri\.IdeaIC2016\system\compile-server\_temp_\build.xml:23: Error: Bundler "MSI Installer" (msi) failed to produce a bundle.

how can i fix it please?

0

Please sign in to leave a comment.