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 179995 - Can not build remote makefile based project if it was built locally
Summary: Can not build remote makefile based project if it was built locally
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 07:22 UTC by Alexander Pepin
Modified: 2010-04-13 16:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2010-01-29 07:22:32 UTC
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.
Comment 1 Vladimir Kvashin 2010-01-29 07:54:06 UTC
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).
Comment 2 Vladimir Voskresensky 2010-04-13 16:01:06 UTC
fixed
http://hg.netbeans.org/cnd-main?cmd=changeset;node=97e69a8fe111