[Lift] Re: how / where to set the runmode of a lift application?

2009-09-13 Thread george
Thanks Xavi I believe you can also modify web.xml in some way, but I'm not really sure. that would be useful as I don't have the ability to set properties on the production environment. I wonder if anyone else can confirm? --~--~-~--~~~---~--~~ You received

[Lift] Re: how / where to set the runmode of a lift application?

2009-09-13 Thread Indrajit Raychaudhuri
If you are modifying web.xml, doing it via env-entry/ and having it available via JNDI (java:comp/env) [1] seems closest. However, I am not sure that would be available via System.getProperty (). Alternately, try jetty.xml (or jetty-env.xml, if possible) [2][3] to do something like: Call

[Lift] Re: how / where to set the runmode of a lift application?

2009-09-12 Thread Xavi Ramirez
One way is it to use the run.mode parameter and start your webapp using this command: mvn jetty:run -Drun.mode=production I believe you can also modify web.xml in some way, but I'm not really sure. -Xavi On Sat, Sep 12, 2009 at 5:00 PM, george geo...@mattandgeorge.com wrote: can anyone tell