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

Summary: Remote build problem with touch command on remote Linux host
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: RemoteAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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: