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 258822 - Multiple issues if C++ project created on network drive
Summary: Multiple issues if C++ project created on network drive
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-14 10:16 UTC by weetabixharry
Modified: 2016-06-18 03:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
proposed patch (2.99 KB, patch)
2016-04-26 13:37 UTC, Alexander Simon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description weetabixharry 2016-04-14 10:16:30 UTC
Upon creating a new project (C/C++ Application) on a network drive, two instances of main.cpp show up under Source Files. Unsurprisingly, this fails to build with a "multiple definition of `main'" error. 

However, if I remove one instance from the project (or try building and running one of the Netbeans example projects), then it fails to execute, with a "... does not exist or is not an executable" error.

These problems do not occur if the project is created on a local drive.
Comment 1 Alexander Simon 2016-04-26 13:37:30 UTC
Created attachment 159441 [details]
proposed patch
Comment 2 Alexander Simon 2016-06-15 12:48:32 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/216330e83444
Comment 3 Quality Engineering 2016-06-18 03:12:45 UTC
Integrated into 'main-silver', will be available in build *201606180002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/216330e83444
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #258822 Multiple issues if C++ project created on network drive