将Play的2.2源代码附加到应用程序

 手机用户2502871157 发布于 2023-02-13 16:59

使用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]            ^

命令的语法是否已更新?我怎么能克服这个?

1 个回答
  • 如果你在里面运行命令它应该工作play,如下所示:

    play
    eclipse with-source=true
    

    但你不需要; 如果你还想在游戏外运行命令:

    play "eclipse with-source=true"
    

    2023-02-13 17:03 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有