DevFaqVersionNumber

(Difference between revisions)
m
Line 6: Line 6:
* The easy way is to set the system property <tt>netbeans.buildnumber</tt> to some value in your application.   
* The easy way is to set the system property <tt>netbeans.buildnumber</tt> to some value in your application.   
* The harder way is to put this key/value <tt>currentVersion=My Product 1.2.3</tt> into the file named <tt>"branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties"</tt> below your suite, then rebuild and run.
* The harder way is to put this key/value <tt>currentVersion=My Product 1.2.3</tt> into the file named <tt>"branding/modules/org-netbeans-core.jar/org/netbeans/core/ui/Bundle.properties"</tt> below your suite, then rebuild and run.
-
* In NB 6.5 is other file location: <tt>"branding/core/core.jar/org/netbeans/core/startup/Bundle.properties"</tt>
+
* In NB 6.5 and later is the file location different: <tt>"branding/core/core.jar/org/netbeans/core/startup/Bundle.properties"</tt>

Revision as of 15:42, 2 December 2009

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