This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.7.0_51 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.51-b03 Steps to reproduce: 1) Create a remote C++ project on existing files 2) Modify some file by IDE 3) Modify the same file by external application 4) Go back to IDE Observed result: the file was reverted to original version (before execution #2 ) Expected result: merged version should appear on editor P.S. I tried to fix it up by the following ways: - invoking Souce->Scan for External Changes - disabling Options->Miscellaneous->Files->Enable auto-scanning of sources No effect. The only way it can work is to remove the file from local cache (C:\Users\user\AppData\Local\NetBeans\Cache\8.0\remote-files\<remote machine>\<remote path to file>), and remove .rfs_zip.zip from root of remote project in cache (C:\Users\user\AppData\Local\NetBeans\Cache\8.0\remote-files\<remote machine>\<remote path to project root>), then syncronize.
Created attachment 146490 [details] IDE log
Thank you for detailed information. I guess the reason. If my guess is correct, then, when modifying the file externally (#3), you managed to keep its time stamp the same as it was before modification (i.e. after #2). Could it be the case?
> ... keep its time stamp the same > as it was before modification (i.e. after #2). I meant before #2, i.e. as it was before modification in IDE That was the only case I was able to reproduce. I've just fixed it in http://hg.netbeans.org/cnd-main/rev/fc5eace37318 Please try it in daily build (I guess it will be there tomorrow) and reopen if the issue still exists
Integrated into 'main-silver', will be available in build *201404080419* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fc5eace37318 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixing #243470 - Remote files do not synchronize properly
Seems, it works. Thank you. Are there any plans for next external release?
Glad to hear this! Here is a link to a public blog that says that "Work on JDK 9 is now underway and we're planning NetBeans 9 to go along with it, as usual" https://blogs.oracle.com/geertjan/entry/onwards_to_netbeans_9 C/C++ team isn't driven by JDK 9, but sure we align with the large NetBeans. And we are sure planning to do a lot by that time - although I can't share specific plans :)
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/4d9f4efc2067 User: Vladimir Kvashin <vkvashin@netbeans.org> Log: fixing #243470 - Remote files do not synchronize properly (transplanted from fc5eace37318187a1ad7b364335704048584e4ae)