Skip to content

Delete gradle project with sub project is not deletable #9095

@Chris2011

Description

@Chris2011

Apache NetBeans version

Apache NetBeans 28

What happened

When I open a gradle based project and I hit del on the selected project node, nothing happens. Also when I have a look into the context menu of the project, the delete action is there, but it is disabled and I can't see why. There is a sub project which seems deletable but not the parent. After I deleted the child project, the parent project still can't be deleted.

Language / Project Type / NetBeans Component

Java with Gradle Multi Project Build

How to reproduce

Create a new Java with Gradle -> java application.
Select the main project and hit del -> nothing happens
Select the main project and open the context menu -> delete is disabled

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 11 64 bit

JDK

Java: 25.0.1; OpenJDK 64-Bit Server VM 25.0.1+8-LTS

Apache NetBeans packaging

Other, Apache NetBeans binary zip

Anything else

There should be no reason to not delete a project. I can create a project in NetBeans so it should be possible to delete it. I can delete the sub project and we already asked for "Delete the source too". Any other project types can be deleted.

Are you willing to submit a pull request?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Gradle[ci] enable "build tools" testskind:bugBug report or fixneeds:triageRequires attention from one of the committers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions