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 269319 - Clean&Build duplicates source files in Projects tab
Summary: Clean&Build duplicates source files in Projects tab
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-13 14:12 UTC by soldatov
Modified: 2017-03-28 12:14 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 soldatov 2016-12-13 14:12:39 UTC
Makefile
=============================================
CC=g++
CFLAGS=-g

test1: test1.cpp
	$(CC) $(CFLAGS) -o test1 test1.cpp

clean:
	rm -f test1

test1.cpp
=============================================

#include <stdio.h>

int main(int argc, char** argv) {
    puts("Hi");
    return 0;
}
=============================================

Scenario:
- Add remote host ("System level file sharing" mode should be used)
- Open project
==> I see 1 test1.cpp file
- Rebuild project
==> I see 2 test1.cpp files
/net/host/...../test1.cpp <- ok
/test1.cpp <-- broken file in Projects tab
Comment 1 Alexander Simon 2017-03-27 13:06:01 UTC
(In reply to soldatov from comment #0)
> Scenario:
> - Add remote host ("System level file sharing" mode should be used)
> - Open project
Did you mean "Create project with existing sources"?
Comment 2 Alexander Simon 2017-03-28 12:14:08 UTC
Cannot reproduce the bug.