[Lift] Re: Packaging lift application for distribution

2009-02-03 Thread David Bernard
http://alchim.sourceforge.net/winstone-maven-plugin/usage.html but i'm not sur if winstone will work with Comet... you could also try (not tested) to * create a Main class (see RunWebapp under test) * add jetty as dependency * create an executable jar with the maven assembly plugin (

[Lift] unexpected start-tag (root element already specified) error

2009-02-03 Thread kmr
Hi Lifters, When I tried to run git-hub samples, I encounterd the following error at the /git/liftweb/sites/http-authentication exmple code : -- エラーunexpected start-tag (root element already specified) 仕様:http://www.w3.org/TR/REC-xml/ 2: !DOCTYPE html PUBLIC -//W3C//DTD XHTML

[Lift] Re: liftweb project archetype dependencies

2009-02-03 Thread Ilya Sergey
Hi, May be, the problem was only in Jetty version 7.0.0.pre5, cause it missed some important classes I've mentioned. Did you test lift with it? Kind regards, Ilya 2009/2/3 David Bernard david.bernard...@gmail.com Hi, When I created Archetypes, jetty 6.x was the latest version series and new

[Lift] Re: liftweb project archetype dependencies

2009-02-03 Thread David Pollak
On Tue, Feb 3, 2009 at 12:27 AM, David Bernard david.bernard...@gmail.comwrote: Hi, When I created Archetypes, jetty 6.x was the latest version series and new minor version comes frequently, So instead of lock to a specific version I decide to let it free (= LATEST) I did test lift with

[Lift] Re: unexpected start-tag (root element already specified) error

2009-02-03 Thread David Pollak
Looks like Tim forgot to check in the templates-default directory. Tim -- Please add that directory. :-) On Tue, Feb 3, 2009 at 1:44 AM, kmr kmr@gmail.com wrote: Hi Lifters, When I tried to run git-hub samples, I encounterd the following error at the

[Lift] Re: Packaging lift application for distribution

2009-02-03 Thread David Pollak
On Tue, Feb 3, 2009 at 1:02 AM, David Bernard david.bernard...@gmail.comwrote: http://alchim.sourceforge.net/winstone-maven-plugin/usage.html but i'm not sur if winstone will work with Comet... It will, but it will consume 1 thread per open comet connector. For a desktop app, that's

[Lift] Re: Help on getting Eclipse/Maven/Lift working

2009-02-03 Thread DavidV
Hi Thomas, I've been having the same troubles and found that these instructions helped me a bit: http://liftweb.net/index.php/Using_eclipse_hotdeploy if you left-click on the RunWebApp application and go to Debug As and don't see an Open Debug Dialogue option, just try clicking on Scala

[Lift] Need access to session variables when about to shut down a session.

2009-02-03 Thread Alli
Evening, During the lifetime of a session, the session may have uploaded bunch of files and these need to be able to be destroyed/unlinked when a session ends. When user uploads a file it's parent dir is determined by the session unique ID and the remote address of the uploader. The name is

[Lift] Re: Need access to session variables when about to shut down a session.

2009-02-03 Thread Alli
Makes a lot of sense, thanks David. Always amazes me how good and clean the design of lift is. On Feb 3, 9:49 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Feb 3, 2009 at 1:06 PM, Alli allilis...@gmail.com wrote: Evening, During the lifetime of a session, the session may

[Lift] lift-example project file

2009-02-03 Thread Amy de Buitléir
On the HowTo run examples page in the Wiki (http://liftweb.net/index.php/HowTo_run_examples), the link to the lift-example project file doesn't work (404). All the other files are present in the directory, but not this one.

[Lift] Re: lift-example project file

2009-02-03 Thread David Bernard
Hi, The xxx-project.tar.gz are no more available you could try to download source from github http://github.com/dpp/liftweb/tree/6bf372de579a64a65242722b63e5b83ea8274faf/sites/example# or the download button at

[Lift] Re: Need access to session variables when about to shut down a session.

2009-02-03 Thread David Pollak
On Tue, Feb 3, 2009 at 1:06 PM, Alli allilis...@gmail.com wrote: Evening, During the lifetime of a session, the session may have uploaded bunch of files and these need to be able to be destroyed/unlinked when a session ends. When user uploads a file it's parent dir is determined by the

[Lift] Design patterns for porting this application to Lift

2009-02-03 Thread Thomas Sant Ana
I've been working on a project to create an application to help run my RPG games. The current version is a single user Swing application (for the referee). It helps run battles and controls all the combatants in the battle. I have been considering moving this application to a web application for

[Lift] Re: Need access to session variables when about to shut down a session.

2009-02-03 Thread David Pollak
Crud. It looks like the session cleanup is done outside of the session scope. Are you using 0.11-SNAPSHOT? On Tue, Feb 3, 2009 at 4:35 PM, Alli allilis...@gmail.com wrote: Been testing this stuff and my object is like this: object ReportAddress extends SessionVar[String]() { def

[Lift] Re: Need access to session variables when about to shut down a session.

2009-02-03 Thread David Pollak
0.11-SNAPSHOT is 0.10 with bug fixes. It's very stable and will be 1.0 on 2/26. I'll commit up a fix to this problem in a few minutes. Also, what's the URL of the site? :-) On Tue, Feb 3, 2009 at 4:58 PM, Alli allilis...@gmail.com wrote: 0.10 at the moment, reckon i should upgrade to 0.11?