I know its not strictly a lift question, but I'm trying ti figure out how to use xsbt-web-plugin with sbt 1.0.0 and was wondering if anyone had any pointers to working examples? Currently all I have is confusion and a broken build so any pointers appreciated.
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Andrew:
I believe 3.X is the current version of xsbt-web-plugin. However, if I correctly recall, 1.0.0 was when the major changes happened. Here is part of my build.sbt that is using xsbt-web-plugin 3.0.0:name := "webapp" organization := "com.myorg" version := "0.4.5" scalaVersion := "2.11.11" scalacOptions ++= Seq( "-target:jvm-1.8", "-encoding", "UTF-8", "-feature", "-unchecked", "-deprecation", "-Xfuture", "-Yno-adapted-args", "-Ywarn-dead-code", "-Ywarn-numeric-widen", "-Ywarn-unused", "-Ywarn-unused-import" ) libraryDependencies ++= Dependencies.webApp // enable Jetty for xsbt-web-plugin enablePlugins(JettyPlugin) // Control version of Jetty used by xsbt-web-plugin containerLibs in Jetty := Seq(Library.jettyRunner intransitive()) containerMain in Jetty := "org.eclipse.jetty.runner.Runner" // xsbt-web-plugin - copy css and js assets to Web App Directory webappPostProcess := { webAppDir => IO.copyFile( target.value / "web" / "less" / "main" / "public" /"css" / "styles.min.css", webAppDir / "public" / "css" / "styles.min.css" ) }
https://gist.github.com/davenatx/580d64684dde7a89a3dbea9fa94eaa28
Dave
On Wednesday, August 2, 2017 at 8:06:40 AM UTC-5, Andrew Bucknell wrote:I know its not strictly a lift question, but I'm trying ti figure out how to use xsbt-web-plugin with sbt 1.0.0 and was wondering if anyone had any pointers to working examples? Currently all I have is confusion and a broken build so any pointers appreciated.
--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
---
You received this message because you are subscribed to a topic in the Google Groups "Lift" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/liftweb/9EiF74X0TBA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to liftweb+unsubscribe@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to liftweb+u...@googlegroups.com.
To unsubscribe from this group and all its topics, send an email to liftweb+unsubscribe@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
mainClass in Compile := Some("bootstrap.liftweb.Start")
com.typesafe.sbt.packager.Keys.bashScriptExtraDefines += """addJava "-Drun.mode=development""""