How to use Xitrum with SBT 1.x

20 views
Skip to first unread message

Ngoc Dao

unread,
Sep 5, 2018, 5:12:46 PM9/5/18
to Xitrum web framework
Xitrum could be used with SBT 0.13.x.

Xitrum can now be used with SBT 1.x, e.g. 1.2.1 (latest version).

To update your project from using SBT 0.13.x to 1.x, see this example:

Note that you need to run your project from command line, you need to use "sbt fgRun", instead of "sbt run", see:

--------------

Some changes:

xitrum-scalate has been updated to use the latest version of Scalate:

xitrum-package has been updated to support SBT 1.x:

Note that SBT 1.x now uses camelCase instead of snake-case, for example:
* Use "sbt xitrumPackage", instead of "sbt xitrum-package".
* Use "sbt publishLocal", instead of "sbt publish-local".

Ngoc Dao

unread,
Oct 6, 2018, 10:15:28 AM10/6/18
to Xitrum web framework
To update your project from using SBT 0.13.x to 1.x, see this example:

The above commit has incorrectly removed "scalateSettings" in build.sbt.

Please readd it, like this:
Reply all
Reply to author
Forward
0 new messages