I know there is one for play1, but I don’t find any for play2.
I hope the plugin can compile the templates to scala code automatically. It’s not convenient now.
Play2 Plugin for Eclipse
I am sitting behind a firewall, so I cannot connect to the external repositories to download the necessary files for the Play sample project and then eclipsify. Is there any other way I can create a P
How to run play2 web application from Eclipse ( ScalaIDE plugin )
I am using Eclipse Juno with Scala plugin. As of now to work with play2 web application I have to first fire terminal and execute play debug ~run ( or play run if I don’t want to debug ), and then I c
Eclipse plugin for play 2
I am a beginner with Play2 framework and Scala. Is there any eclipse play 2 plugin available? If yes, then please provide me the link for the same. I am used to Eclipse and have never used Scala befo
Include Scala and Java Nature in Play2 Eclipse Project with javaCore
I have an sbt play2 project that I want to configure for eclipse, to include both a Scala nature and Java nature automatically(in the generated .project file). I can do this inside of eclipse by manua
play2 eclipse doesn’t add source jars
I have a very simple play2 project. I would like to see all the sources of any dependent jar included in the project. I included a dependency on commons-io % commons-io % 1.4 in project/Build.s
eclipse is showing error on render() in play2
i am new on Play Framework and i am trying to develop sample java application i have created new html page test.html in controllers it is working if we simply return result in the form of string i.e.
Maven and play framework 2 – Unknown packaging: play2
I’ve trying to integrate maven and play2 by this guide http://cescoffier.github.io/maven-play2-plugin/maven/release/quickstart.html , but when i try to build project maven says: Unknown packaging: pla
Is there a play2 framework plugin to build OAuth REST API?
I would like to build a web service (RESTful JSON API) and I would like to secure my API with OAuth 1.0 or 2.0. I’m using Play2 with Scala and I cannot find examples on writing OAuth providers (not co
Eclipse + m2eclipse plugin + EAR module dependencies
I’m trying to create an eclipse project from scratch using m2eclipse plugin to help resolving dependencies. The project consists of the following modules: test-ear test-ejb test-war The ear references
Can I avoid compiling sources twice when running play2 and eclipse?
Currently I am running eclipse and play (with ~run) at the same time. When I change a file it will be compiled by play and by eclipse. Is it possible to avoid one of those two compilation steps? As fa
Edit: This answer is outdated. A Play Eclipse plugin has been written, as @Baztoune says.
There is no Play 2 plugin for Eclipse at the time I’m writing these lines. However, there is an eclipsify sbt command, provided by the Play 2 sbt plugin, which is able to generate an Eclipse project from a Play 2 application.
You won’t get syntax highlighting, contextual completion or code navigation inside Play 2 templates, but you can have them to be automatically compiled when saved by using the ~run sbt command (instead of just run). Check the Eclipse “General −> Workspace −> Refresh using native hooks or polling” option is enabled so it will take compiled templates changes into account.
I use Scala IDE from http://scala-ide.org/ , then eclipsify my play2 project and import.
It works like a charm: it compiles my scala/java code.
You can get more details at this URL http://scala-ide.org/docs/tutorials/play20scalaide20/index.html
I just came across Scala IDE Play2 plugin for Eclipse Indigo/Juno and Scala IDE. The current features are
- Syntax Highlighting (routes and templates)
- Code completion (templates)
- Formatter (routes)
- Hyperlinking (routes and templates)
Note that hyperlinking to Java files is not supported for now. Also there are some limitations for the code completion feature, just take some time to read the doc. I didn’t try it myself as I’m not working with Play2 right now, but thought it might be helpful for someone.
Yes. That’s Scala IDE.
Update Site for Eclipse Juno and Kepler: http://download.scala-ide.org/sdk/e38/scala210/stable/site
Install with the following features:
- Scala IDE for Eclipse
- Scala IDE Plugins (incubation)
Yes, here’s how to get started:
Find the correct update site for your version of Eclipse from http://scala-ide.org/download/current.html.
In Eclipse go to Help->Install New Software. Use the update site from above to locate Scala related plugins.
Install both the Scala IDE for Eclipse plugin and the Play2 support in Scala IDE plugin. Note that the Play2 support in Scala IDE plugin is listed under the Scala IDE plugins checkbox.
I was unable to get this working at all starting from bare Eclipse, as many sources have suggested doing. The problem seems to be incompatible dependencies that only show up after much wasted time. The Scala IDE route eliminated this problem.