Deploying Jetty Scalars

How to deploy scala or scalatra to a Jetty servlet container? Does anyone have experience or can point me to some resources on the Internet?

+6
source share
2 answers

If you are using sbt, run the package command from the sbt shell. This will create you a war file in the target directory. You can drop this into the jetty webapps directory and configure the XML context file in its context directory.

If you are using maven, I believe you need the mvn package command.

+5
source

Are you using the Simple Build Tool (SBT) for your project? If you do this, it is as easy as running the β€œsbt pier”

Check this out: http://code.google.com/p/simple-build-tool/

0
source

Source: https://habr.com/ru/post/889907/


All Articles