Re: version number and splash screen question
Neil C Smith <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <CAHvRSof1UV2u=Qr+0-c+9Ecy6562GXF7LoFtukKLN6YP6OF7Lw@mail.gmail.com> |
On 1 November 2016 at 06:27, Dmitry Avtonomov <[email protected]> wrote: > The version number that you're seeing there is actually the version number > of the platform that you're using. In addition to what Dmitry said, you can also set the version number at runtime - they're two system properties that apply - netbeans.buildnumber and netbeans.productversion. The latter is used in various other places like the About screen. I've recently added some extensions to my build process to pass the app.version property from the project.properties file through the application conf file to set these up. The three lines used are - https://github.com/praxis-live/praxis-live/blob/master/build.xml#L17 https://github.com/praxis-live/praxis-live/blob/master/praxis_live.conf#L7 https://github.com/praxis-live/praxis-live/blob/master/praxis.live.core/src/net/neilcsmith/praxis/live/core/Installer.java#L47 Obviously, the latter needs to be in a suitable place in your own application. Hope that helps. Best wishes, Neil -- Neil C Smith Artist & Technologist www.neilcsmith.net Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org