[ https://issues.apache.org/jira/browse/NETBEANS-3313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033834#comment-17033834 ]
Christian Lenz commented on NETBEANS-3313: ------------------------------------------ > Just a note on the PR. It does a bit more than originally required by calling > gradle clean before the removal of the project folder. That makes it more > complicated (changes in the executor packages). The basic implementation > would be the DeleteOperationOmpl, and a few hooks on the action processing. But why? Just deleting should delete the folder/project immediately if possible like in a normal operating system deletion. The other stuff is not necessary for the user what happens in the background. It should be hidden. Why you need to clean or to call another action? The clean and other stuff, etc. is what it makes unnatural to delete just a projectfolder. In maven or ant, it took some seconds due to those extra actions. If I delete the gradle project or maven project from the Operating System w/o using NetBeans or any other IDE, it will be deleted immediately. > Can't delete gradle project > --------------------------- > > Key: NETBEANS-3313 > URL: https://issues.apache.org/jira/browse/NETBEANS-3313 > Project: NetBeans > Issue Type: Bug > Components: projects - Gradle > Affects Versions: 11.1, 11.2 > Environment: Product Version: Apache NetBeans IDE 11.2 > Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS > Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS > System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) > User directory: C:\Users\Chrl\AppData\Roaming\NetBeans\11.2 > Cache directory: C:\Users\Chrl\AppData\Local\NetBeans\Cache\11.2 > Reporter: Christian Lenz > Assignee: Steven Ingram > Priority: Minor > Labels: pull-request-available > Time Spent: 10m > Remaining Estimate: 0h > > I can't delete a gradle project via "del" key. Also the action "delete" on > the project context menu is missing. > Steps to reproduce: > - Create a new Java with Gradle -> Java Application or Java Frontend > Application (Maybe all gradle projects) > - Leave everything as it is from the wizard > - Wait until it is open > - Select the project via key or mouse > - Hit "del" key -> nothing happens > - Do a right click on the project and choose "delete" -> action is not there > - Go to the files window > - Try to do the same -> not possible > Project deletion is essential in NetBeans. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists