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.
Steps to reproduce: - create a local makefile based project which creates executable inside source directory - build the project - add a remote host using different platform and Smart Secure Copy type of synchronization - set the remote host for the project - build the project on remote host Result: Build is successful but the build log shows that the executable on the remote host is up to date. Run fails. In fact executable from local host is just copied to remote host and because the local executable is up to date 'build' on remote host does nothing.
The reason is as follows: cnd VCS query (which is used to determine, which files are to be copy to remote host) does not "understand" that the build result binary should not be copied to remote host. This means that such files will get into VCS as well. This won't happen on Windows (since .exe files are filtered out) or if the build result resides in ./build or ./dist subdirectory. The proposed fix is for the cnd VCS query implementation to filter out build result (this will work in the case it is specified in project properties).
fixed http://hg.netbeans.org/cnd-main?cmd=changeset;node=97e69a8fe111