[Lift] Re: Question: How to emulate "exit" behavior with LiftActors

2010-01-05 Thread Jcon
Great, thanks. Added a shutdown message that my actor responds to and added the following to Boot.scala: LiftRules.unloadHooks append(() => DumbMail ! DumbMailShutdown) And now my mail actor cleans up appropriately when Jetty restarts. Good learning exercise. I may also try to configure a lo

[Lift] Question: How to emulate "exit" behavior with LiftActors

2010-01-05 Thread Jcon
I'm new to scala and lift, and I've been hacking with a LiftActor used to a local mail server for development based on the post by Ryan Donahue: http://groups.google.com/group/liftweb/browse_thread/thread/56002b39aa67aee6/4d3946d145560d3e?lnk=gst&q=test+mail#4d3946d145560d3e However the code in th

[Lift] Re: Newbie Question: Problems compiling/running examples

2009-11-27 Thread Jcon
ore information, run Maven with the -e switch [INFO] [INFO] Total time: 6 minutes 16 seconds [INFO] Finished at: Fri Nov 27 12:37:38 EST 2009 [INFO] Final Memory: 98M/184M [INFO] -----

[Lift] Re: Newbie Question: Problems compiling/running examples

2009-11-25 Thread Jcon
Thanks for the quick response. I'm still having the same error after trying the following: 1. upgrade to maven 2.2 as suggested 2. ran 'mvn install' in the lift-examples directory again. Same error (tests failing, although I think the root cause is actually ClassNotFoundException bootstrap.liftw

[Lift] Newbie Question: Problems compiling/running examples

2009-11-22 Thread Jcon
Today I cloned the liftweb source from git, and had a couple of problems trying to get the examples to run. Must have missed some instructions or something. What I did: 1. git clone git://github.com/dpp/liftweb.git 2. cd liftweb 3. 'mvn install' which resulted in some errors (didn't save the exa