为什么"activator eclipse"会在新项目中产生"不是有效的项目ID:eclipse"?

Gov*_*ngh 9 eclipse playframework typesafe-activator playframework-2.4

我刚刚使用创建了一个新项目activator new,现在正试图使用​​它来实现它activator eclipse.但我面临一个问题:

D:\work\firebase>activator eclipse
[info] Loading project definition from D:\work\firebase\project
[info] Set current project to firebase (in build file:/D:/work/firebase/)
[error] Not a valid command: eclipse (similar: help, alias)
[error] Not a valid project ID: eclipse
[error] Expected ':' (if selecting a configuration)
[error] Not a valid key: eclipse (similar: deliver, licenses, clean)
[error] eclipse
[error]        ^
Run Code Online (Sandbox Code Playgroud)

我正在使用Typesafe Activator 1.3.2

Mon*_*ari 19

将此文章附加到您的plugins.sbt文件中:

addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0")

Play不再包含sbteclipse或sbt-idea插件,它使用户可以独立于Play升级IDE支持.

资源


Pea*_*nut 5

根据詹姆斯沃德:

我认为垫片只能由UI安装。但是jsuereth可以确认。如果是这样,我们需要解决此问题。一种解决方法是先activator ui在项目上运行UI(),然后可以使用activator eclipse

资料来源:https : //github.com/typesafehub/activator/issues/212