Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
wiki2858: IDEGeneralFAQ (Version 9)

Where IDE stores user data?#

  • Configuration area: on windows C:/Documents and Settings/<user>/momentics, on linux /home/<user>/.momentics.
  • Workspace folder (User choice): default location windows C:/ide-4.5-workspace, on linux /home/<user>/ide-4.5-workspace.
  • IDE does not write anything to windows registry

Where is the log file?#

Log file is very useful for troubleshooting, it contains error messages that user won't see in IDE itself, or has more detailed messages. Log file is in <workspace>/,metadata/.log. If it is not there - means IDE did not start, in this case log created in configuration area, see above. If you still could not find it you can start it with -consolelog option.

Where IDE is installed?#

Normally IDE would be installed in $QNX_HOST/usr/qde/eclipse, i.e. "/opt/qnx640/host/linux/x86/usr/qde/eclipse" on linux. Qde launcher on linux installed in $QNX_HOST/usr/bin/qde (which should be in your PATH). For windows you can use launcher directly from eclipse folder, i.e $QNX_HOST/usr/qde/eclipse/qde.exe. If you install standalone IDE it does not record its location anywhere, so you have to remember it (or search for qde).

Can IDE work from read-only installation?#

Yes as long you create workspace outside of installation folder, see "Where IDE stores data?".

IDE does not start. Help!#

The reasons could be the following:

  • Corrupted Installation - Check log file for "Cannot load bundle" message
  • Corrupted configuration area. You can remove this directory and try to restart again, see "Where IDE stores data?".
  • Bad permissions on configuration area
  • Bad permissions on <workspace> folder
  • Corrupted <workspace> folder. Try to start in another workspace, see "How to switch workspace".
  • Bad environment variable settings, see "Which environment variables IDE uses?"

How to switch workspace?#

Normally IDE would prompt you on startup for location of workspace.
You can switch it from IDE itself from "File->Switch Workspace" menu.
If you want to have prompt on startup (and you previous disable it by selecting "Do not show me this dialog again") open "Window->Preferences" and select "General->Startup and Shutdown", then pick "Prompt for workspace on startup".
To pick a different workspace on startup from command line use "-d" option of "qde" launcher (or shortcut), or edit qde.ini in IDE installation and add it before -vmargs (Note: qde launcher on Linux does not pass arguments to eclipse launcher, you should edit qde.ini in this case)

IDE starts but I get licensing errors when trying to open any QNX perspectives or create projects. I check the license and it is valid!#

For Linux:
IDE should have LD_LIBRARY_PATH set for location containing license library. If you using usr/bin/qde script it automatically sets it for you, otherwise you have to set it from command line:
(IDE 4.0.x) export LD_LIBRARY_PATH=$QNX_HOST/usr/bin:$LD_LIBRARY_PATH
(IDE 4.5.x) export LD_LIBRARY_PATH=$QNX_HOST/usr/lib:$LD_LIBRARY_PATH

For Windows:
Ensure that "%QNX_HOST%\usr\bin" is included in the %PATH% environment variable. To verify where it appears in the $PATH variable, use the following command in a Windows command prompt: set %PATH%

I cannot connect to my targets, what it could be?#

For Linux: Disable "SELinux" if it is currently enabled.

  • Configure SELinux by launching "Desktop"->"System Settings"->"Security Level".
  • Click the SELinux tab, unselect "Enabled", then reboot your system.

For Windows: Check you outbound firewall settings.

Which environment variables IDE uses?#

(6.4.0 example)
QNX_CONFIGURATION=/etc/qnx
QNX_HOST=/opt/qnx640/host/linux/x86
QNX_TARGET=/opt/qnx640/target/qnx6
PATH=$QNX_HOST/usr/bin:$PATH
MAKEFLAGS=-I$QNX_TARGET/usr/include

How to update IDE?#

You can use official update size which comes with IDE. Help->Find and Install...->Search for new feature to install->choose QNX Momentics Update Site and click update.

There is also unofficial "experimental" update site that contains pre-release and maintenance bug fixes (updated monthly), for IDE 4.5.x location of this site is "https://www.qnx.com/account/updates/foundry27/ide/tau/" - you have to create a New Remote update site on the dialog above to add this update site to a list of update sites.

How to integrate the svn is the IDE?#

IDE 4.5 comes with preinstalled SVN plugins, to install svn support in 4.0.x you can use subversive plugins for Eclipse 3.3, see http://www.polarion.org/index.php?page=download&project=subversive .

What is qconn?#

qconn is target agent (process) that has to be running on the target. It allows IDE to run processes on target, browse file system, and receive target information. Without it running you can not do any target related tasks in IDE (but you can do host related task such as Edit Code and Build).

How to update qconn?#

At the end qconn binary should end up on your target machine, but if you building OS images it has to be on your host machine first. When you update IDE to new version it has a qconn update as well, but you have to manually install it (Help-->Software Updates-->Qconn Update). This only installs qconn update on Host and only if it is newer. Alternately you can download it from foundry (latest qconn patch for Momentics 6.3.2).

Once you install it on host you have to update all your target either by uploading a new version and storing in /usr/sbin/qconn (the usual place) and re-starting the process or updating target OS images and rebooting.

How to Troubleshoot?#

  • Option 1: Look at IDE log file, <workspace>/.metadata/.log. It contains exceptions recorded during execution. Sometimes it has meaningful information.
  • Option 2: Search on the internet. You most likely hit qnx forum, cdt forum or eclipse forum which has your answer.
  • Option 3: If option 1 and 2 did not help, post a message on IDE forum

Back