简体   繁体   English

Netbeans,如何删除 Gradle 项目

[英]Netbeans, how to delete a Gradle project

I have a working Gradle project in Netbeans and I'd like to use the same sources in another Netbeans project.我在 Netbeans 中有一个有效的 Gradle 项目,我想在另一个 Netbeans 项目中使用相同的源。

Unfortunately it's forbidden to use the same sources in multiple projects, so I'd like to remove this Gradle project from Netbeans.不幸的是,禁止在多个项目中使用相同的源,所以我想从 Netbeans 中删除这个 Gradle 项目。

The existing answers are not valid because they refer non-gradle projects.现有答案无效,因为它们引用了非 gradle 项目。

I tried to delete the cache but it didn't work.我试图删除缓存,但没有奏效。

I tried also to delete the user configuration directory C:\Users\gbarbieri\AppData\Roaming\NetBeans\12.0\config but then I don't have anymore the option to create a project from existing sources (and all the others ones are gone as well).我还尝试删除用户配置目录C:\Users\gbarbieri\AppData\Roaming\NetBeans\12.0\config但是我不再有从现有源创建项目的选项(所有其他的都消失了以及)。

How shall I do?我该怎么办?

Spec: Netbeans 12规格:Netbeans 12

I ended up uninstalling and reinstalling Netbeans and it worked我最终卸载并重新安装 Netbeans 并且它有效

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM