This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | master password dialog is shown even in --nogui mode | ||
---|---|---|---|
Product: | platform | Reporter: | Alexey Vladykin <alexey_vladykin> |
Component: | Options&Settings | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | issues, jglick |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 173413 |
Description
Alexey Vladykin
2010-03-16 13:47:54 UTC
Could disable it if java.awt.headless=true is given, which --nogui could probably set among its other chores. Workaround is trivial: ---%<--- META-INF/services/org.netbeans.modules.keyring.spi.EncryptionProvider #-org.netbeans.modules.keyring.fallback.MasterPasswordEncryption ---%<--- After core-main #f169ed329bdd you should be able to pass -J-Djava.awt.headless=true to suppress master password encryption. Untested. (--nogui just instructs NB to not show the main window. Setting the JRE to be headless is a stronger condition which implies --nogui.) Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f169ed329bdd User: Jesse Glick <jglick@netbeans.org> Log: #182114: disable when headless. |