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 - Copying files from another project in project view should copy file on disk
Summary: Copying files from another project in project view should copy file on disk
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-19 17:53 UTC by canidae
Modified: 2014-04-14 14:30 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.