Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

deploying scalatra onto Jetty

Tags:

jetty

scalatra

How does one deploy scala or scalatra onto Jetty servlet container? Does anyone have experience or can point me to some resources online?

like image 979
Joyce Avatar asked Jun 06 '11 21:06

Joyce


1 Answers

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.

like image 146
Cole Stanfield Avatar answered Sep 22 '22 15:09

Cole Stanfield