Yeah, good idea. Too bad we can't use <blink> ;)

Eelco


On 5/31/07, Al Maw <[EMAIL PROTECTED]> wrote:
Eelco Hillenius wrote:
>> +1... But just to make sure: is the DEPLOYMENT configuration going to be
>> default?
>
> Nope, DEVELOPMENT is the default (see one of the other threads this week).

But I'll make the log warning larger while I'm there.

Something like this should do the trick:

********************************************************************
*** WARNING: Wicket is running in DEVELOPMENT mode.              ***
***                               ^^^^^^^^^^^                    ***
*** Do NOT deploy to your live server(s) without changing this.  ***
*** See Application#getConfigurationType() for more information. ***
********************************************************************

We could even log it to System.err, so Eclipse makes it red. I can't see
any objection to System.err logging in dev mode. If someone deploys in
production their app server admin might even come and clobber them with
a big stick. ;-)

What do you think?

Al

Reply via email to