Thursday, October 26, 2017

How to transform Play project as Eclipse project

To transform a new Play project into Eclipse workspace.
the following steps can be followed.

1. navigate into the play project root directory. eg. C:\my-play-project

2. add the following plugin into the end of project/plugins.sbt

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

3. add the following configuration into the end of build.sbt

EclipseKeys.preTasks := Seq(compile in Compile, compile in Test)
EclipseKeys.projectFlavor := EclipseProjectFlavor.Java  
EclipseKeys.createSrc := EclipseCreateSrc.ValueSet(EclipseCreateSrc.ManagedClasses, EclipseCreateSrc.ManagedResources) 

4. in command prompt, navigate to the play project root directory.
type the following command.

sbt eclipse

5. import the play project into eclipse
File > Import > General > Existing Projects into Workspace



1 comment:

  1. There are two poker tables on the Seven Luck, but I only noticed one in use during my two visits to the room. At the entrance is a casino workers person standing at a podium who signs gamers up for the game. There is a hand-written board itemizing the video games, with an occasionally updated waiting record. The Seven Luck Casino is housed in a powerful building, with a multi-story sign announcing the casino in large neon lights. In different phrases, even when there were native operators, it might not be possible for them to compete with offshore websites in these matters. Therefore, there is no a|there is not any} serious demand for authorized playing, and for a similar cause, we don't anticipate any modifications within the laws of the country within the near future.



Related Posts Plugin for WordPress, Blogger...