Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Indexer in 4.7.2: Page 1 of 7 (7 Items)
   
Indexer in 4.7.2  
I found a problem with the indexer in 4.7.2.  It is related to the formatting of the contents of the .cproject file.  If
 I allow the IDE to modify project settings, the .cproject file is updated with tabs, and the indexer then works.

Please take a look at the attached files.  The _broken file is the original file that works in 4.7.1 but fails in 4.7.2.
  By fail, I mean the indexer does not resolve symbols that are not in the immediate project directory.  I looked at the
 difference between the two files (_broken and _fixed) and saw a few differences.  At first, I thought it was the 
missing 'indexing="true"' that caused the problem, but after editing the file manually to add that, the problem was 
still there.  I also tried removing 'standalone="no"', but that did not help.  And I also switched the order between 
qnxBuilder and QDEBinaryParser but that did not fix the indexer.  It only worked after I added tabs to the .cproject 
file.  I tried adding tabs just to the lines that reference "pathentry include" but that wasn't enough.  I had to add it
 to the entire file.

This problem was observed in more than one project, so I was able to run tests to determine what fixes the problem, and 
what doesn't.  My question is, why are tabs necessary in the .cproject file before the indexer will work correctly?  
This was not a problem in 4.7.1.

Rex
Attachment: Compressed file cproject.zip 2.34 KB