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.

Bug 174881

Summary: Smart secure copy: don't override generated files with local changes
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Kvashin 2009-10-19 13:57:45 UTC
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.
Comment 1 Alexander Pepin 2009-10-30 16:47:12 UTC
looks like a duplicate of issue #172138.
please evaluate.
Comment 2 Vladimir Kvashin 2009-11-13 08:22:19 UTC
To fix this I need to change rfs preload and controller logic a bit.
Comment 3 Vladimir Kvashin 2010-02-09 16:31:22 UTC
Fixed by numerous schangesets (the last one is http://hg.netbeans.org/cnd-main/rev/d3cb9cd874ab)