Reputation: 1451
How does one deploy scala or scalatra onto Jetty servlet container? Does anyone have experience or can point me to some resources online?
Upvotes: 5
Views: 1134
Reputation: 2447
If you're using sbt, run the package
command from within the sbt shell. This will create you a war file in the target dir. You can drop that into jetty's webapps directory and configure a context xml file in its contexts directory.
If you're using maven, I believe the command you want is mvn package
.
Upvotes: 5
Reputation: 136
Are you using Simple Build Tool (SBT) for your project? If you do, it's as easy as running "sbt jetty"
Check it out: http://code.google.com/p/simple-build-tool/
Upvotes: 0