dia*_*lex 5 playframework playframework-2.2
使用Play 2.1.3,我可以使用附加Play的源代码$ play eclipse with-source=true.但是现在,在迁移到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] ^
Run Code Online (Sandbox Code Playgroud)
命令的语法是否已更新?我怎么能克服这个?
Rob*_*een 14
如果你在里面运行命令它应该工作play,如下所示:
play
eclipse with-source=true
Run Code Online (Sandbox Code Playgroud)
但你不需要; 如果你还想在游戏外运行命令:
play "eclipse with-source=true"
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1384 次 |
| 最近记录: |