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.
Please implement API for moving projects. Ideally blocking method move(Project p, FileObject destination)
Milane, any progress on this?
Yes, working on it. Not as easy as it looked for the first sight.
I can provide somewhat partial solution. Project move cannot be implemented generally for all project types. Each project type can have its own impl. of move operation that is accessible from UI. But there is default impl for those projects that doesn't need anything special and it would be the same for this API call. Such projects that use default implementation of the operation have particular class in its lookup. Proposed solution would look for the class in project lookup and if the class is available then move operation would do the same as default impl. just without dialogs. And if the class is not available in project lookup then move operation would end up with exception.
After talk with Maros we decided not to implement it this way.