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 63012 - Support for grouping device-configurations and treat them as one
Summary: Support for grouping device-configurations and treat them as one
Status: RESOLVED WORKSFORME
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Ryzl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-25 06:59 UTC by ieising
Modified: 2006-10-23 16:41 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2005-08-25 06:59:25 UTC
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
Comment 1 Martin Ryzl 2005-08-25 10:37:44 UTC
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.