Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » The project was not built since the source file ... could not be read
The project was not built since the source file ... could not be read [message #318598] Wed, 01 August 2007 06:08 Go to next message
fordkp Mising name is currently offline fordkp Mising name
Messages: 1
Registered: July 2009
Junior Member
When editing/building in eclipse, I occasionally get the following error:

"The project was not built since the source file ... could not be read"

The source file in question can be edited, saved, updated, committed, etc,
but the error will not go away by refreshing or cleaning. The only way I
can keep working is by restarting eclipse and THEN doing a refresh, but
sooner or later the problem recurs. Usually it is on the same file, but
not always.

Any idea why this is happening, and what I can do about it?

Linux lnx5e023 2.4.21-32.EL #1 SMP x86_64 GNU/Linux
KDE 3.1.3-6.10 Red Hat
Eclipse SDK
Version: 3.3.0
Build id: I20070625-1500
Re: The project was not built since the source file ... could not be read [message #318612 is a reply to message #318598] Wed, 01 August 2007 08:40 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6850
Registered: July 2009
Location: Ottawa
Senior Member

The most common cause is an incompatible encoding in the file. I get
these some times on linux when I get a file with cp1252 (or whatever the
window encoding is) ...

Are you only editing files on one platform? Or are you getting them
from another machine/repository as well? Are there any errors in your
error log? <workspace>/.metadata/.log

Later,
PW


Re: The project was not built since the source file ... could not be read [message #547268 is a reply to message #318612] Fri, 16 July 2010 03:29 Go to previous message
Antonio Fenoy
Messages: 1
Registered: July 2010
Location: Spain
Junior Member

Try Menu File/Restart, it did work for me.
Previous Topic:Menu visible when selection is a subclass of StructuredSelection
Next Topic:On paste how can I know if it was cut or copied
Goto Forum:
  


Current Time: Fri Apr 18 19:20:54 EDT 2014

Powered by FUDForum. Page generated in 0.02534 seconds