如何在netbeans中使用Play Framework 2.0 [英] How do I use Play Framework 2.0 in netbeans
本文介绍了如何在netbeans中使用Play Framework 2.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Play Framework 2.0似乎没有太多/任何支持Netbeans。我目前只是将它用作编辑器(使用收藏夹选项卡加载文件),但Netbeans无法识别任何库/ api有点令人沮丧。
Play Framework 2.0 doesn't seem to have much / any support for Netbeans. I'm currently just using it as an editor (loading the files using the favorites tab), but it's a little frustrating that Netbeans doesn't recognise any of the libraries / api's.
这意味着一切都用红色加下划线。
This means that EVERYTHING is underlined in red.
尝试创建一个自由格式项目需要一个构建文件,所以我也被卡在那里。
Trying to create a free-form project requires a build file, so I get stuck there too.
任何想法都赞赏...
Any ideas appreciated...
推荐答案
- 按照正常方式创建一个播放项目。
- 从播放CLI中选择
播放eclipsify
以创建一个eclipse项目。 - 从netbeans中,选择
文件>导入项目> Eclipse项目
- 选择
导入忽略依赖关系的项目
- 在
要导入的项目
中,插入播放应用程序的根目录。 - 在
目标文件夹
中,也插入播放应用程序的根目录。 - 按
完成
。
- Create a play project as per normal way.
- From the play CLI select
play eclipsify
to create an eclipse project. - From netbeans, select
File > Import Project > Eclipse Project
- Select
Import Projects Ignoring Dependencies
- In
Project to Import
, insert the root of your play application. - In
Destination Folder
, also insert the root of your play application. - Press
Finish
.
这篇关于如何在netbeans中使用Play Framework 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文