Summary: | Deleting multiple interdependent projects triggers builds which prevent deletion | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Christopher Tubbs <ctubbsii+eclipse> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 4.20 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Christopher Tubbs
2019-08-19 15:19:22 EDT
Instead of trying to track which projects are "scheduled for deletion" from the UI, it might be easier for the "delete project" action in the menu to execute a "close project" on all selected projects, before executing the "delete project" action which was requested. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. The bug is still relevant. Deleting projects should not trigger rebuilds on projects also being deleted. Yet, this still happens with the latest version. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. This is still definitely an issue. The fix for this should be simple. It should just be changing the logic from something like: selectedProjects.deleteAll() to: // close them all before trying to delete them, since closing several at once does not appear to trigger rebuilds like deleting does try { selectedProjects.closeAll(); } finally { selectedProjects.deleteAll(); } I made an attempt to figure out where I could make the change myself, to submit a patch for consideration, but it was not intuitive, as I'm not familiar with the code at all. |