Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Force large workspace rescanning (how?)
Force large workspace rescanning (how?) [message #166728] Wed, 29 March 2006 03:41 Go to next message
Eclipse UserFriend
Originally posted by: MCondarelli.harmanbecker.com

Hi,
I've been using CDT (CDT:2.0.2 on Eclipse:3.1.1) for a while and I have
the following problem (i have the creeping feeling I'm about to make a
fool of myself, but I can't find a solution...):

It seems that CDT caches some indexes for the project files and does not
refresh them even when the pointed-to files are deleted or moved.
Typical symptom is: I select a data struct or function name (actually my
current example is the name of an array of structures, if that matters),
right-click->Open Definition; I get a "java.io.FileNotFoundException".
This is actually correct because the file it is trying to open is long
gone and the structure is now somewhere else, but I seem unable to
convince Eclipse/CDT to forget the obsolete info and rescan the project.
Note: I often see the "rescanning workspace" (or something to hat effect)
message while working (mostly after a recompile), but this does not cure
the above.

What should I do?

Thank in advance
Mauro
Re: Force large workspace rescanning (how?) [message #166896 is a reply to message #166728] Thu, 30 March 2006 05:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: arne.anka.ginguppin.de

> right-click->Open Definition; I get a "java.io.FileNotFoundException".

sure it's caused by the missing files of source-code? what says the log?
closing your project and reopening should trigger a complete reindexing.
even changing the indexer might help.
Re: Force large workspace rescanning (how?) [message #166944 is a reply to message #166728] Thu, 30 March 2006 07:08 Go to previous message
Eclipse UserFriend
Mauro,

> What should I do?

in the C/C++ Projects view, right-click on your project folder and from the
context menu select "Refresh". This tells the workbench to re-scan the files
in the project and may fix your problem.


Norbert Ploett
Previous Topic:gdb with cdt
Next Topic:Build button does not work
Goto Forum:
  


Current Time: Sat May 03 10:55:16 EDT 2025

Powered by FUDForum. Page generated in 0.03829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top