There sometimes are some files (makefiles and source files) that are generated on remote host.
In some situations these remotely generated files are overridden by local ones.
Consider a autoconf project that already contains Makefile (generated locally). If you switch it to remote mode and try
configuring it on remote host (either "manually" via shell, or with the help of the IDE) prior than you try building it,
then, upon buld, makefile that is generated on remote host, will be overridden with one copied from local host.
In the case project contains some generated source files, we'll have the same situation.
looks like a duplicate of issue #172138.
To fix this I need to change rfs preload and controller logic a bit.
Fixed by numerous schangesets (the last one is http://hg.netbeans.org/cnd-main/rev/d3cb9cd874ab)