Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » IResource.exists() problem
IResource.exists() problem [message #242692] Wed, 11 April 2007 03:51 Go to next message
Eclipse UserFriend
Originally posted by: andrei.serea.ama.us

I am having problems with the method IResource.exists(). I create a file
inside a project using IFile.create() and after doing that the method
exists() returns true and the file is created. But after I restart the
plugin and reopen the project, the method exists() on the same file returns
false, though the file still exists in the file system.
The question is: why does the exists() method return false when the file
exists?
Re: IResource.exists() problem [message #242723 is a reply to message #242692] Wed, 11 April 2007 08:39 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Andrei,

You asked this same question in the platform newsgroup. Please don't
post the same question separate to multiple newsgroups. If you must
post to multiple newsgroups (which wasn't necessary in this case) do so
with a single posting addressed to all the groups so an answer on one
will appear on all.


Andrei Serea wrote:
> I am having problems with the method IResource.exists(). I create a file
> inside a project using IFile.create() and after doing that the method
> exists() returns true and the file is created. But after I restart the
> plugin and reopen the project, the method exists() on the same file returns
> false, though the file still exists in the file system.
> The question is: why does the exists() method return false when the file
> exists?
>
>
>
Previous Topic:Getting comments between firstLeadingCommentIndex and lastTrailingCommentIndex
Next Topic:JDK 5.0 and Compiler compliance level set to 1.4
Goto Forum:
  


Current Time: Wed May 07 01:12:36 EDT 2025

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

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

Back to the top