Creating an Ability and Associating Configurations

See Also

Abilities are identifiers that enable you to group similar project configurations and simplify the process of managing preprocessor code.

When you create an ability, you associate it with a project configuration. After you create the ability, you can then associate it with other configurations as well.

To create an ability and associate it with a project configuration:

  1. Right-click on a project in the Files view and choose Properties .
  2. Choose the Abilities page from the Category menu tree.
  3. Click the Add Ability button.
    This opens the Add Ability dialog.
  4. In the Add Ability dialog, enter a name for the ability.
  5. Optionally, add a value for the new ability.
    Values can be integer numbers, strings or empty symbols used as booleans.
  6. Click OK to close the Add Ability dialog.
    The ability is now associated with the selected project configuration.

You can associate the ability with other configurations by choosing a different configuration from the Project Configuration menu and clicking the Add Ability button.

See Also
Working with Project Configurations
Customizing Project Configurations
About Project Configurations
About Preprocessing
About Abilities
Java ME MIDP Project Configuration Tasks: Quick Reference

Legal Notices