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.
Hi, It would be really handy when I would be able to create groups of device-configurations so I can apply a preprocessor block to the group, instead of having to specify every single configuration. For example, Nokia has its own FullCanvas that is supported across all Nokia phones, it would be nice if I could create a FullCanvas for all Nokia configurations and use Canvas for other devices. Now I have to specify every configuration, one-by-one. Iwan
It works in 4.1 already. It is called Ability and you can assign abilities to configurations in the project customizer. For example, if you assign ability NOKIAUI to configurations Nokia and NokiaS60, then you can use: /*#NOKIAUI#*/ /*$NOKIAUI#*/ in 4.1, resp. //#ifdef NOKIAUI //#endif in 4.2. In addition, the IDE collects various strings and attributes from SDKs and offers them as abilities. Also those abilities can have values.