Thank you for posting your experience and solution.
Before addressing the issue you have encountered I would like to,
point out, to anyone that is about to try out Lift or start a new
project from scratch to check out Lifts template applications [1]
they are in many cases god starting points.
Now the issue, It may be the use of
> ~jetty:startthat made you stumble, did you try
> ~container:start (and container:stop)I haven't tried the latest version of xsbt-web-plugin (v2.1) but normally triggered reload's after changes in file(s) in a lift project should not be a issue, the one thing to look out for is if you change something in lift.boot then a container stop and start may be needed.
--
--
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 Anton
Yes both the jetty start and container start instructions is
mentioned on the page, and as it seems the simplest usage is (as
you pointed out) now back to using
>~jetty:start
I did play around with v2.1 in one of my Lift projects after
changing
//addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "0.7.0")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "2.1.0")
and in build.sbt
//seq(webSettings :_*)
enablePlugins(JettyPlugin)
Now running the container using ~jetty:start instead of as before
~container:start
I did how ever not notice any change in reload behavior, as before
the sbt noticed the source changes.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
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/AJHj4TZy2TY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to liftweb+unsubscribe@googlegroups.com.
but >jetty:start works fineRunninggives this error
> container:start
> Error: Could not find or load main class