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 196728 - Remote build problem with touch command on remote Linux host
Summary: Remote build problem with touch command on remote Linux host
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 13:51 UTC by Vladimir Kvashin
Modified: 2011-07-26 13:48 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 Vladimir Kvashin 2011-03-15 13:51:26 UTC
This concerns remote build with "Automatic Copying" synchronization (AKA "Smart Secure Copy") with Linux remote host

If makefile contains touch for an existent source file, such project won't be able to build remotely, "NULL character seen" message will appear.

The reason is that on Linux (at least on recent Linuxes) touch opens file in O_WRONLY mode. After that IDE decides that it does not control this file any more (as it is considered re-written on remote host).

This is one of root causes of issue 196378 (but not a dup, since 196378 describes a particular case that has been fixed).
Comment 2 Quality Engineering 2011-06-05 14:04:36 UTC
Integrated into 'main-golden', will be available in build *201106051000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5f0ae54fb740
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #196728 Remote build problem with touch command on remote Linux host
(transplanted from 80f5266d56697d390a7d2baa4b050608a061d886)
Comment 3 Quality Engineering 2011-06-06 04:50:16 UTC
Integrated into 'releases'
Changeset: http://hg.netbeans.org/releases/rev/
User: 
Log: