Where to apply OPT_RestartAfterImport branding token?
"dstutz" <[email protected]> Tue, 10 Oct 2017 20:55:30 +0000
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
I am trying to use the branding token OPT_RestartAfterImport to set it to true to force a restart after importing settings but I am having trouble figuring out which folder to put the new Bundle.properties file in. The option is specified here: http://bits.netbeans.org/8.2/javadoc/branding.html and here: http://bits.netbeans.org/8.0/javadoc/org-netbeans-modules-options-api/architecture-summary.html#branding-OPT_RestartAfterImport but it's not clear to me what file to override. In the file org-netbeans-modules-options-api-RELEASE82.jar there is org/netbeans/api/options/Bundle.properties and org/netbeans/module/options/Bundle.properties I have tried overriding both of those by creating a Bundle.properties with the specified key in the folders: org-netbeans-modules-options-api.jar.org.netbeans.api.options and org-netbeans-modules-options-api.jar.org.netbeans.modules.options in my branding module as well as putting the file in: netbeans\platform\modules\org-netbeans-modules-options-api.jar according to https://netbeans.org/bugzilla/show_bug.cgi?id=229774#c4 I've also just tried the root of the branding module to no avail. In what folder am I supposed to put this file? I even found the changeset where this branding token was created: https://netbeans.org/bugzilla/attachment.cgi?id=132601&action=edit but I just can't figure out where to put the Bundle.properties.