function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SidharthSidharth 

Force.Com IDE Not Checking Server File

Hi All,

If i make a change in apex class in Force.Com ide (installed as a plugin in Eclipse Kepler), it doesnt not check the server file, and overrites it, even if the server file is different.
I expect, IDE should throw the error - file doesnt match the server file, and should fail to update. Not sure why its happening, any ideas ?

Thanks
Sid
Best Answer chosen by Sidharth
SidharthSidharth
Changing the Force.com ide plugin from 31.0 to 30.0 version under Eclipse solves the issue. Not sure if thats the only solution.

All Answers

bob_buzzardbob_buzzard
I'm using eclipse kepler and if the server file has changed since I retrieved my local copy, it refuses to save with an error that the local file is out of date.  How are you pushing the change to the server?  Is it just through a regular ctrl-s or are you using the 'Save to Server' context menu option - the latter will overwrite the file.
SidharthSidharth
I am using ctrl+s, and still eclipse overwriting server file changes.
SidharthSidharth
Changing the Force.com ide plugin from 31.0 to 30.0 version under Eclipse solves the issue. Not sure if thats the only solution.
This was selected as the best answer