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.
hey there. if I try to delete a package, it wont work. I understand that to fully delete the directory first I must do an svn commit, however, when I check the svn dif from netbeans, it's empty. not disappearing can be explained this way, but svn diff being empty can not, so it's definitely a bug. the ui can be worked around like hiding the deleted package until commit.
What do you mean by 'svn diff being empty'? Do you mean that when you select Subversion->Diff from popup menu, you can't see package files as 'Deleted'? Could you make a screenshot?
sure. first, I created a new project: http://nefty.hu/~nagyz/netbeans/basic_project_creation.jpg then I created a new package, and committed everything into an svn repository: http://nefty.hu/~nagyz/netbeans/svn_first_import.jpg then I tried to delete the package: http://nefty.hu/~nagyz/netbeans/newpackage_deletion.jpg then this is what I ended up with after hitting the OK: http://nefty.hu/~nagyz/netbeans/after_package_deletion.jpg so the package is there, still, and cannot be deleted from the IDE. if you need anything, let me know :)
Does the svn diff shows anything if you invoke 'svn remove newpackage' in command line? I think it would not show anything either. You are however right that IDE does not schedule a package removal (does not call svn remove for the package itself), it just deletes its content. I thing you can bypass this by deleting the package in Files view. There is another issue for this: see #156529 Let me know if #156529 is what you would expect.
interesting. the deletion from the "files" tab went fine. however, checking subversion->diff showed nothing. but when I select subversion->commit, I can see it will remove the directory. so it's almost the expected behaviour :) svn diff showes nothing at the command line, so I guess when I delete the package from the files tab it does not really delete it (it's still on disk), just notes that it should do that the next time I do a commit; and subversion->diff works the same as "svn diff", while on svn commit, svn diff is merged with the "upcoming deletion notes" :)
Can I close this one? You can follow the progress of this in #156529
sure, close it if it's the same bug :-)
*** This issue has been marked as a duplicate of 156529 ***