Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Troubleshooting

Troubleshooting help for the Brew MP Eclipse Plugin.

To verify the Brew MP Eclipse Plugin installation

If you are unable to see the Brew MP Plugin files, check the Eclipse Installation\plugins folder for If the file is not present, try reinstalling the plugin.

To verify Eclipse found the Brew MP Eclipse Plugin

  1. Launch Eclipse.
  2. Select Help > About Eclipse.

    The About Eclipse Platform dialog is shown.

  3. Select Plugin Details.

    The About Eclipse Platform Plugins dialog is shown.

  4. You should be able to see Qualcomm within the Provider column of the table, and within the Plugin Name column you should see Brew MP Project Wizard Plugin and Brew MP Toolbar and Menu Plugin.

To update Eclipse Plugin version

If you see an older plugin in the Eclipse IDE, this is an Eclipse caching issue.

  1. Launch Eclipse with the -clean command-line option.

    You should see the updated plugin.

If you can't see the Brew MP Eclipse Plugin toolbar

  1. Ensure that the installed JRE and Eclipse versions are supported. You can verify the Java version used by Eclipse by doing the following:
    1. Select Help > About Eclipse > Installation Details.
    2. In the dialog, select the Configuration tab and search for the Java version.

    Note: On 64 bit systems, verify you have the correct 32-bit version of Java installed.

  2. If you have supported versions and still have an issue:
    1. Check the Error Log View to see if there are any errors.
    2. Check the Plug-in Registry View for an x shown against your plugin id. i.e, .

If you do not see the Error Log View in the Eclipse IDE

  1. Within Eclipse select Window > Show View > Other.
  2. Expand PDE Runtime in the Show View Dialog.
  3. Select Error Log.

If you do not see the Plugin Registry View in the Eclipse IDE

  1. Within Eclipse select Window > Show View > Other.
  2. Expand PDE Runtime in the Show View Dialog.
  3. Select Plug-in Registry.

If you cannot launch a tool

You may need to set the Brew MP SDK installation path.

  1. Select the Option button the Brew MP toolbar, or select Window > Preferences.

    The Preferences dialog is shown.

  2. In the left pane, open the Brew Mobile Platform node, then select General.

    The Brew MP SDK installation path is shown in the right pane.

  3. Set the Brew MP SDK Installation path.

    The default path is .

  4. Click Apply or OK.

    You should be able to launch the tool.

If you get build errors

Once you have generated the application framework, you need to remove any references to Cygwin-specific entries in the PATH environment variable.

  1. Within Eclipse, select Project > Properties. The project Properties dialog opens.
  2. Within the project properties dialog, select C/C++ Build > Environment.
  3. Select All Configurations from the Configuration drop-down menu.
  4. In the list of Environment variables to set, highlight PATH, and select Edit.
  5. Remove any reference to Cygwin-specific entries, and click Apply, then click OK.

If the Contextual Editor is not working

  1. Close Eclipse. In a command prompt, provide the following command:

    Eclipse.exe -clean

    Eclipse launches.

  2. Verify that the Contextual Editor is listed in the Eclipse Plug-ins tab. If not, launch Eclipse by entering the following in the command prompt:

    eclipse.exe -clean -console

    A second command prompt displays.

  3. In the second command prompt. Enter the following command:

    ss

    and select Enter. Plugins identified by Eclipse are listed.

  4. Get the ID corresponding to "com.qualcomm.eclipse.plugin.contextualeditor.ui.*" and "com.qualcomm.eclipse.plugin.contextualeditor.ui.*", and provide the IDs in the command prompt as follows:

    diag

    Any issues associated with loading the plugin are listed.

If the plugin is properly installed but you are not able to see error highlighting or content outline, do the following:

  1. Right-click on the corresponding project file, and select Properties.

    The location of the project is listed in the Properties dialog.

  2. Navigate to the location of the project, and open the .project file in a text editor.
  3. Verify whether the following entry is in the natures section of the .project file:

    com.qualcomm.eclipse.plugin.contextualeditor.core.nature

    If the above code is not present, add it.

  4. Refresh the project from the Eclipse Project Explorer.