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.

Bug 207001

Summary: Cleaner way of conditionally enabling development-build-only UI
Product: www Reporter: Jesse Glick <jglick>
Component: Builds & RepositoriesAssignee: pgebauer <pgebauer>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: ARCH
Priority: P3    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 206954    

Description Jesse Glick 2012-01-06 19:28:29 UTC
Some modules or features, such as java.debug and timers, are mainly intended for NB developers and QE to explore the IDE's features. (Some like apisupport.projectinspector fall into this category but are currently on AU.) Currently these are either removed from their cluster config in release branches, which is awkward since you need to keep track of them all; or conditionally enable certain features based on whether assertions are on or off, which overloads -ea to affect UI, and make use of lazy registration annotations impossible.

Possible solutions:

1. Move these modules to Stable AU and let anyone who wants to use them download them that way. Simplest and clearest, though might be annoying if most dev build users want these things on.

2. Make them deps of some kit module in the nb cluster, all disabled by default; you could then enable them in Plugin Manager. Straightforward but means that this kit module must depend on some domain-specific modules like java.debug.

3. Make them eager modules requiring some token which is provided by a module which is disabled or missing by default. Solves the dependency problem of #3.