-
Notifications
You must be signed in to change notification settings - Fork 1
DevFaqAutoUpdateBranding
It’s easy to distribute new and/or updated modules via AutoUpdate, but you might also like to update branding items like the splash screen and version number in the application’s title bar to reflect the changes.
To do this, create a new module in your suite. Edit its build.xml and AFTER the line
<import file="nbproject/build-impl.xml"/>
insert
<property file="${suite.dir}/nbproject/project.properties"/>
<target name="netbeans-extra" depends="init">
<branding cluster="${cluster}" overrides="${suite.dir}/branding" token="${app.name}"/>
</target>
Next, add the following to the modules' nbproject/project.properties file. You may also need to update the list of files in extra.module.files to include only those JARs which your suite actually brands.
nbm.needs.restart=true
nbm.is.global=true
nbm.target.cluster=${app.name}
extra.module.files=\
core/locale/core_${app.name}.jar,\
modules/ext/locale/updater_${app.name}.jar,\
modules/locale/org-netbeans-core-windows_${app.name}.jar,\
modules/locale/org-netbeans-core_${app.name}.jar,\
modules/locale/org-netbeans-modules-autoupdate-ui_${app.name}.jar,\
modules/locale/org-netbeans-modules-favorites_${app.name}.jar,\
modules/locale/org-netbeans-modules-javahelp_${app.name}.jar,\
modules/locale/org-netbeans-modules-projectui_${app.name}.jar
Finally, run the "nbms" Ant target on your suite and deploy the updates to your AutoUpdate center.
Note that you may encounter problems doing this in NetBeans 6.0.
Thanks to Matteo Di Giovinazzo for sharing how to do this on the dev@openide list.
The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.
This page was exported from http://wiki.netbeans.org/DevFaqAutoUpdateBranding , that was last modified by NetBeans user Bruehlicke on 2012-02-24T03:15:05Z.
NOTE: This document was automatically converted to the AsciiDoc format on 2018-01-26, and needs to be reviewed.
Apache NetBeans is an effort undergoing incubation at The Apache Software Foundation (ASF).
Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
This wiki is an experiment pending Apache NetBeans Community approval.