Playframework 附加播放';s 2.2应用程序的源代码

Playframework 附加播放';s 2.2应用程序的源代码,playframework,playframework-2.2,Playframework,Playframework 2.2,使用Play 2.1.3,我可以使用$Play eclipse With source=true附加Play的源代码。但是现在,在迁移到Play 2.2.1之后,当我尝试运行该命令时,我得到了下面的错误 $ play eclipse with-source=true [info] Loading project definition from C:\Play\dcid\project [info] Set current project to dcid (in build file:/C:/Pl

使用Play 2.1.3,我可以使用
$Play eclipse With source=true
附加Play的源代码。但是现在,在迁移到Play 2.2.1之后,当我尝试运行该命令时,我得到了下面的错误

$ play eclipse with-source=true
[info] Loading project definition from C:\Play\dcid\project
[info] Set current project to dcid (in build file:/C:/Play/dcid/)
[info] About to create Eclipse project files for your project(s).
[info] Successfully created Eclipse project files for project(s):
[error] Expected ID character
[error] Not a valid command: with-source
[error] Expected project ID
[error] Expected configuration
[error] Expected ':' (if selecting a configuration)
[error] Expected key
[error] Not a valid key: with-source (similar: watch-sources, watchSources, sources)
[error] with-source=true
[error]            ^

命令的语法是否已更新?如何克服这一问题?

如果在
play
中运行命令,应该可以工作,如下所示:

play
eclipse with-source=true
但是你不需要;如果仍要在播放之外运行命令:

play "eclipse with-source=true"