Why does "activator eclipse" yield "Not a valid project ID: eclipse" in a new project?

Govind Singh picture Govind Singh · Jul 2, 2015 · Viewed 7k times · Source

I just created a new project using activator new, and am now trying to eclipsify it using activator eclipse. But I am facing an issue:

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

I am using Typesafe Activator 1.3.2

Answer

Mon Calamari picture Mon Calamari · Jul 2, 2015

Append this piece to your plugins.sbt file:

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

Play no longer includes the sbteclipse or sbt-idea plugins, which enables users to upgrade IDE support independently of Play.

Source