• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Eclipse: Resource is out of sync

 
Ranch Hand
Posts: 820
IntelliJ IDE VI Editor Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I dropped 4 jsp files into my eclipse project and when I do a search and at various other times, I get the error: Resource is out of sync with the file system for those files. The whole project is under SVN, but I don't think this is an SVN issue. I don't get the concept, I'm afraid. Out of sync? they're right there!
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Out of sync" here means that they've been modified outside of Eclipse. If you're using SVN outside of Eclipse, that would do it right there.

Select the checkbox under Window|Preferences...|General|Workspace|"Refresh automatically" and the messages should go away.
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And if it doesn't, select the containing folder and press F5.
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Probably the single greatest gripe people have with Eclipse. It doesn't auto-sync with external processes. Probably to keep it OS-netutral.

F5 works on the Java Perspective, but some of the other perspectives don't have the Refresh menu option bound to F5.

You also can get the "Out of Sync" complaint if you run Ant and it modifies files then attempt to do a CVS update or Export of your project or something like that.
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gripes me too.

Especially given the way it knows enough to save edits and stuff before rebuilding, but can't be bothered to do a little "refresh" when you ask it to sync to a repository. Instead it gets halfway through the process, complains and then gives up.

Even a box with a "refresh now (Y/N/Abort)" would be better than just giving up the process and requiring the user to do it manually.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic