DevFaqVersionNumber

Revision as of 15:42, 2 December 2009 by Rmichalsky (Talk | contribs)

How do I set the version number?

There are two ways to set the version number shown in the Help... About dialog.

  • The easy way is to set the system property netbeans.buildnumber to some value in your application.
  • The harder way is to put this key/value currentVersion=My Product 1.2.3 into the file named "branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties" below your suite, then rebuild and run.
  • In NB 6.5 and later is the file location different: "branding/core/core.jar/org/netbeans/core/startup/Bundle.properties"
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo