如何在netbeans中使用Play Framework 2.0 [英] How do I use Play Framework 2.0 in netbeans

查看:151
本文介绍了如何在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...

推荐答案


  1. 按照正常方式创建一个播放项目。

  2. 从播放CLI中选择播放eclipsify 以创建一个eclipse项目。

  3. 从netbeans中,选择文件>导入项目> Eclipse项目

  4. 选择导入忽略依赖关系的项目

  5. 要导入的项目中,插入播放应用程序的根目录。

  6. 目标文件夹中,插入播放应用程序的根目录。

  7. 完成

  1. Create a play project as per normal way.
  2. From the play CLI select play eclipsify to create an eclipse project.
  3. From netbeans, select File > Import Project > Eclipse Project
  4. Select Import Projects Ignoring Dependencies
  5. In Project to Import, insert the root of your play application.
  6. In Destination Folder, also insert the root of your play application.
  7. Press Finish.

这篇关于如何在netbeans中使用Play Framework 2.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆