SWTResourceManager: Error from Wrong Build File [message #712031] |
Sat, 06 August 2011 20:05  |
Eclipse User |
|
|
|
I deleted my build directory recently just to start it fresh. It re-built, but then it wouldn't work. Errors came up in my code for no reason, all for using classes that supposedly "couldn't be resolved to a type" that are right there in my code, and in the build output. So, I restored the build folder from the trash folder, and narrowed the problem down to org.eclipse.wb.swt.SWTResourceManager. If I let it build a fresh .class file for it, Eclipse shows errors in my code. If I restore the old .class file, everything's just peachy. According to Windows Explorer, the bad (new) file is 8,097 bytes. The good (old) one is 11,094 bytes; they are clearly different files.
What could cause this? The source file (for SWTResourceManager) looks fine. I tried commenting out all references to it (SWTResourceManager), but it didn't help.
Thanks
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04966 seconds