Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » files not found on closing project
files not found on closing project [message #205451] Sat, 24 November 2007 10:42 Go to next message
Eclipse UserFriend
hi,

when I am closing a project Eclipse tries to close all files which are
open in the edit window. But generally there is at least one file which
cannot be closed.
The error message then is like
File /simu/include/utility.h does not exist

The file really is existing, but not within /simu/include/ but within
~/workspace/simu/include/

Why does Eclipse search in the wrong directory?

(Eclipse 3.1.1, CDT 3.0.2, on Suse Linux10.1)

Nikosch
Re: files not found on closing project [message #205527 is a reply to message #205451] Mon, 26 November 2007 03:06 Go to previous message
Eclipse UserFriend
Nikosch wrote:
> hi,
>
> when I am closing a project Eclipse tries to close all files which are
> open in the edit window. But generally there is at least one file which
> cannot be closed.
> The error message then is like
> File /simu/include/utility.h does not exist
>
> The file really is existing, but not within /simu/include/ but within
> ~/workspace/simu/include/
>
> Why does Eclipse search in the wrong directory?
>
> (Eclipse 3.1.1, CDT 3.0.2, on Suse Linux10.1)
>
> Nikosch
>

That's a very old and annoying bug of the Eclipse platform. There are
several bugzilla instances of it:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=40795
https://bugs.eclipse.org/bugs/show_bug.cgi?id=41431
https://bugs.eclipse.org/bugs/show_bug.cgi?id=52279

Note that the path reported in the error message is a workspace-relative
path (although it looks like an absolute path), not a file system location.
The problem occurs whhen an editor has never been realized
(instantiated) in a session, i.e. the editor exists only as a tab.
In this case the editor is not seen as being associated with the project
and therefore it is not closed. If it is activated later (or becomes
visible because all editors on top are closed), restoring the editor fails.

--
Anton Leherbauer
Wind River CDT Team, Austria
Previous Topic:need consultation...
Next Topic:Re: Project Explorer Filter
Goto Forum:
  


Current Time: Tue May 06 20:51:27 EDT 2025

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

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

Back to the top