Customizing the Momentics IDE

You can customize the Momentics IDE by setting preferences and environment variables. To understand your current installation, you can view the installation details and the error log file.

Preferences

The Preferences dialog box lets you customize the behavior of your environment, such as when to build your projects, which target processors to build for, and how to open new perspectives.

You can also set preferences on a per-project basis by right-clicking your project and selecting Properties.

Profiles page

This page contains the general settings for the Momentics IDE for BlackBerry based on user profiles. You can access the Profiles page from Window > Preferences > QNX > Profiles. Profiles provide a way to hide functionality that's not needed for a specific developer. Using this page, you can activate or deactivate certain capabilities in the Momentics IDE based on your user profile.

To use the BlackBerry Application Developer and BlackBerry System Developer profiles you must have a BlackBerry Native SDK license. To use the QNX Developer profile you must have a QNX Software Development Platform license.

The following profiles are available:

BlackBerry Application Developer
This profile enables the following features:
  • BlackBerry Native SDK
  • QNX Application Profiler
  • QNX Code Coverage
  • QNX Memory Analysis
  • QNX System Information
  • Terminal
BlackBerry System Developer
This profile enables the following features:
  • BlackBerry Native SDK
  • Mudflap
  • CDT Extras
  • QNX Application Profiler
  • QNX Code Coverage
  • QNX Developer Tools
  • QNX Memory Analysis
  • QNX System Developer Tools (miscellaneous development features of the Momentics IDE)
  • QNX System Information
  • QNX System Profiler
  • System Developer
  • Terminal
C/C++ Developer (CDT)
This profile enables the following feature for C/C++ Development using CDT functionality:
  • CDT Extras (additional CDT features)
QNX Developer
This profile enables the following features:
  • CDT Extras (additional CDT features)
  • QNX Application Profiler
  • QNX Code Coverage
  • QNX Developer Tools
  • QNX Memory Analysis
  • QNX System Information
  • Terminal

When you set up a profile, the following rules apply:

  • More than one profile can be active at the same time.
  • Profiles can be set interactively using the Profiles preferences, or by using the configuration file.
  • The Momentics IDE can dynamically reconfigure itself when you add a new profile, or when an existing one is disabled.

The following preferences can be changed on the Profiles preference page.

Option Description Default
Description Describe the type of category currently selected. N/A
Select All Enable all the categories in the list to enable all functionality. N/A
Deselect All Remove all the currently selected functionality from the categories in the list. N/A
Advanced Configure detailed capabilities for specific profiles. These capabilities identify the features in the that are available for each profile. Not selected

Environment variables

BlackBerry Native SDK uses these environment variables to locate files on your computer:

QNX_HOST The location of host-specific files.
QNX_TARGET The location of target backends on the computer.
QNX_CONFIGURATION The location of the qconfig configuration files.
MAKEFLAGS The location of included *.mk files.
TMPDIR A directory used for temporary files. The gcc compiler uses temporary files for the output of one stage of compilation used as input to the next stage. For example, the output of the preprocessor, which is the input to the compiler.

The qconfig utility sets these variables according to the version of the Momentics IDE for BlackBerry that you specified.

The error log

The default location of the Momentics IDE error log file is home_directory/momentics-workspace/.metadata/.log.

To view the error log from within the Momentics IDE for BlackBerry:

  1. On the Help menu, select Help > About Momentics IDE.
  2. Click Installation Details, and then click View Error Log.

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus