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.
Following methods should be deprecated and replaced by methods with FileObject/URL/URI parameters CopyOperationImplementation.notifyCopied(Project original, File originalPath, String nueName) MoveOperationImplementation.notifyMoved(Project original, File originalPath, String nueName) ProjectOperations.notifyCopied(Project original, Project nue, File originalPath, String name) ProjectOperations.notifyMoved(Project original, Project nue, File originalPath, String name)
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