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 170658

Summary: Copying files from another project in project view should copy file on disk
Product: cnd Reporter: canidae <canidae>
Component: ProjectAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: blocker CC: Elusive
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description canidae 2009-08-19 17:53:48 UTC
If you copy a file from another project in the project view then you just create a link to the same file in the new
project. Not realizing this it's easy to delete the "new" file in the new project which will delete the file from the disk.

How to reproduce:
Create new project, add file to project.
Create another project, copy the file from the first project to this project (using the project view).
Erase the file you just copied in the second project.
The file is erased, but you still got a dead link to it in the first project (and you probably didn't intend to delete
the file from that project either).

When you copy a new file should be created on the disk, not just a link.