Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to edit a Play 2.0 project using Eclipse

There is no eclipsify action in the new Play 2.0-beta

How does one edit a project in Eclipse ?

like image 462
Olivier Refalo Avatar asked Nov 25 '11 19:11

Olivier Refalo


People also ask

Which IDES can be used for play applications?

Android IDE - Java Suite A Java IDE is needed so developers can work for Android app development. We chose Eclipse, NetBeans, and IntelliJ IDE as the most popular ones. No matter which one of those you chose, all of them feature step by step tutorials for beginners and are powerful enough for the most advanced users.

How do I import a play project into IntelliJ?

Open an existing Play 2 projectsbt file and click Open. In the dialog that opens, click Open as Project. IntelliJ IDEA opens the project and loads all the necessary dependencies. If your project is not an sbt project, refer to the import project section.

How do I run a play framework?

To run a Play application: Create a new Run Configuration – From the main menu, select Run -> Edit Configurations. Click on the + to add a new configuration. From the list of configurations, choose “sbt Task”


1 Answers

With the latest version of Play 20, follow these steps:

  1. cd to your application folder
  2. type play
  3. run eclipsify target
  4. import project into eclipse

it's that simple!

Note that it's best to run Play as play ~ run when running under Eclipse.

Last point, if you use ScalaIDE, step by step instructions can be found at http://scala-ide.org/docs/tutorials/play20scalaide20/index.html

like image 183
Olivier Refalo Avatar answered Oct 11 '22 08:10

Olivier Refalo