--
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
(Now in English as it may be interesting for others): You set
override def scanDirectories = Nil
I usually see that when people use jRebel, but as you are using the
sbt idea plugin, (to run sbt from inside idea), does intelliJ restart
jetty for you, or do you restart jetty manually after a scala code
change?
My work flow is a bit different than yours, I use the idea plugin for
sbt to generate the intellij project, but then I run a new terminal
and there I do
sbt> ~jetty-run
so after a scala code change, sbt reloads the project into jetty.
Thanks
Diego
2011/12/14 Juan Jose Olivera <ju...@genso.com.bo>:
> --
> 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
--
Diego Medina
Web Developer
di...@fmpwizard.com
http://www.fmpwizard.com
Gracias Jose por el articulo detallado.
(Now in English as it may be interesting for others): You set
override def scanDirectories = Nil
I usually see that when people use jRebel, but as you are using the
sbt idea plugin, (to run sbt from inside idea), does intelliJ restart
jetty for you, or do you restart jetty manually after a scala code
change?
I get that too when I run the terminal, but the changes are reloaded
on the jetty that is running, can you see if the same applies to your
new setup? Also, it may be worth noting on your blog post that you are
using sbt version 0.7.7. Because there are people who are new to the
scala ecosystem and may start with sbt 0.12 or some other version and
may not know why your example is not working for them (even though you
say to use ./sbt which calls the 0.7.7, they may just use sbt and use
the one installed on their classpath.
But great post and I'll be giving the idea-sbt a try (I already use
the sbt-idea and it is great.
Diego
On Thu, Dec 15, 2011 at 4:41 PM, Juan Jose Olivera <ju...@genso.com.bo> wrote:
> Hi again Diego, I have tested and it recompiles, but it fails with the
> following message:
>
> Error running jetty-run: This instance of Jetty is already running
>I get that too when I run the terminal, but the changes are reloaded
on the jetty that is running, can you see if the same applies to your
new setup? Also, it may be worth noting on your blog post that you are
using sbt version 0.7.7.
Diego
Sent from my android cell
Oh, in that case starting jetty from sbt seems better.
Thanks for checking