Netbeans IDE 9中缺少Groovy和Grail插件 [英] Groovy and Grail plugin is missing in Netbeans IDE 9
问题描述
这是我第一次尝试Grails. 我遵循相同的帖子"为什么我不能在Netbeans 8.2中创建新的grails应用程序?" 我从 https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-netbeans-java-9.0-bin.zip >
但是对我来说,Groovy/Grails插件在插件窗口中不可用.在我的情况下如何获取grail插件?
要将Grails与NetBeans 9.0一起使用,必须执行以下操作:
- 提供 Groovy and Grails 插件.
- 安装 Groovy and Grails 插件.
- 配置 Grails .
- 创建一个Grails项目.
以下是详细信息:
第1步: 要使该插件可用:
- 工具>插件> ,单击设置标签,然后单击添加按钮.
-
在更新中心定制程序对话框中:
- 在名称字段中输入一些描述性值,例如: NetBeans 8.2插件
-
第2步: 要安装插件:
- 在可用插件标签中,选择并检查 Groovy and Grails 插件的条目.
-
单击安装按钮安装插件,然后重新启动NetBeans.
第3步: 要配置Grails:
- 工具>选项>其他> 选择新添加的 Groovy 标签.
- 在 Grails主页字段中输入您的Grails安装位置,然后单击确定.
第4步: 创建Grails项目:
- 文件>新建项目> 从类别列表中选择 Groovy .
- 从项目列表中选择 Grails应用程序,单击下一步> 并完成向导以创建您的Grails项目.
This is the first time I am trying with Grails. I followed the same post "Why I can't create new grails application in Netbeans 8.2?" I installed Netbeans 9 beta version from https://archive.apache.org/dist/incubator/netbeans/incubating-netbeans-java/incubating-9.0/incubating-netbeans-java-9.0-bin.zip
But for me, Groovy/Grails plugin is not available in the plugin window. How to get grail plugin in my case?
To use Grails with NetBeans 9.0 you must do the following:
- Make the Groovy and Grails plugin available.
- Install the Groovy and Grails plugin.
- Configure Grails.
- Create a Grails project.
Here are the details:
Step 1: To make the plugin available:
- Tools > Plugins > click the Settings tab, then click the Add button.
In the Update Center Customizer dialog:
- Enter some descriptive value in the Name field, such as: NetBeans 8.2 Plugins
Enter https://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz in the URL field, and click OK.
Step 2: To install the plugin:
- In the Available Plugins tab select and check the entry for the Groovy and Grails plugin.
Click the Install button to install the plugin, then restart NetBeans.
Step 3: To configure Grails:
- Tools > Options > Miscellaneous > select the newly added Groovy tab.
- Enter the location of your Grails installation in the Grails Home field, and click OK.
Step 4: To create a Grails project:
- File > New Project > select Groovy from the Categories list.
- Select Grails Application from the Projects list, click Next > and complete the wizard to create your Grails project.
这篇关于Netbeans IDE 9中缺少Groovy和Grail插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!