IntelliJ does a fairly good job on supporting Scala Lift projects
The first few times that I tried experimenting with Lift I was disappointed with the development environment options. I ended up just running Maven from a command line with the tutorial projects open in TextMate.
I had a much better experience this morning when I decided to check out the recently released version 1.0 of Lift. This worked fairly well for me:
I had a much better experience this morning when I decided to check out the recently released version 1.0 of Lift. This worked fairly well for me:
- Create a demo project as per the getting started instructions
- Build and run the project using mvn jetty:run from the command line, then stop jetty
- Create a new IntelliJ project from existing sources (I had problems creating a project from a Maven POM file, but it was probably something that I was doing wrong)
- Open the IntelliJ Maven Projects tab and click the "circular arrows" menu bar icon to look for POM files in the current project
- I was then good to go: editing Scala code, editing Lift HTML template files, and running the mvn jetty:run target in the IntelliJ Maven Projects tab
Hello, Mark.
ReplyDeleteI wonder, what went wrong if create new IntelliJ project from pom.xml file?
When I was creating a new project imported from an external model, I selected Maven, and could never get past the next dialog screen (the Next button was active, but did nothing when I selected it).
ReplyDeleteI just solved the problem: I went into Preferences -> Mazen, updated all repositories that were showing, and then creating a new project worked fine.