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.
Summary: | Project API should be java.io.File independent | ||
---|---|---|---|
Product: | projects | Reporter: | Alexander Simon <alexvsimon> |
Component: | Generic Infrastructure | Assignee: | Alexander Simon <alexvsimon> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | issues |
Priority: | P3 | Keywords: | API |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 207496 | ||
Bug Blocks: | 206634 | ||
Attachments: | Patch in progress |
Description
Alexander Simon
2012-01-19 06:00:26 UTC
Can replace File with URI in these APIs. DefaultProjectOperationsImplementation (called from DefaultProjectOperations) will still use File for those parts of the GUI where the user must enter a new path (move & copy), since there is no general file chooser for remote files. It is questionable how valuable the resulting API change would be - the only reason to implement MoveOperationImplementation and CopyOperationImplementation is either if you are calling DefaultProjectOperations, or are part of a compound project which uses these to coordinate copies/moves of subprojects. Renaming (i.e. move within the same parent folder) could work on a remote project using DPO. Created attachment 115097 [details]
Patch in progress
Patch for experimentation. Not submitting for API review until you can confirm that this is actually useful for CND remote projects.
please comment This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |