Already answered the static field thing... but just curious why you think its better to have modify your source tree just to switch from dev to prod? Wouldn't your dev/qa/deploy cycle be simpler if you didn't have to modify the source?

- Brill pappin


On 24-Feb-09, at 10:49 AM, Eyal Golan wrote:

Thanks Marcelo and James.

I still prefer the solution we have come to:
In the web.xml put deployment and in the Jetty plugin (StartWebServer) put
the development.

My question was why Application.java doesn't have 'wicket.configuration' as
a static field.
Wouldn't it be nice?

Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P Save a tree. Please don't print this e-mail unless it's really necessary


On Tue, Feb 24, 2009 at 3:08 PM, Marcelo Morales <marcelomorales.name@
gmail.com> wrote:

I am using tomcat. I just append -Dwicket.configuration=development on
the start script. Perhaps you can append it to the jetty start as
well.

On Tue, Feb 24, 2009 at 8:35 AM, Eyal Golan <egola...@gmail.com> wrote:
Hi,
It's been a long time since I've written in this mailing list.

Here's my question:
I was looking for a way to set the mode to DEVELOPMENT in the Jetty
starter
while setting DEPLOYMENT in the web.xml.
I encountered the following thread:

http://www.nabble.com/dummy-question%2C-how-to-set-wicket-in-Deloyment-mode--td13364304.html#a13364498

In there there is this line:
System.setProperty("wicket.configuration", "development");

I am using Wicket 1.3.4
Wicket Application class has a static filed called CONFIGURATION, which
is
without the 'wicket' part.

Why doesn't it have a static 'wicket.configuration' ?
Wouldn't it be better?

Thanks

Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really
necessary




--
Marcelo Morales

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to