Re: Should wicket-devutils be initialized when development utilies are disabled?

2011-09-20 Thread Martin Grigorov
Hi Mikko,

This is a good point!
I'll improve it.
Thanks!

On Mon, Sep 19, 2011 at 8:46 PM, Mikko Pukki
mikko.pu...@syncrontech.com wrote:
 Hi,

 I just noticed that when wicket-devutils is included in compilation, 
 Application's initializeComponents
 initializes org.apache.wicket.devutils.debugbar.DebugBarInitializer. Because 
 of this
 org.apache.wicket.devutils.diskstore.DebugDiskDataStore is in use even when 
 application is in deployment
 mode. I guess it makes unnecessary disk i/o because pages of devutils cannot 
 be accessed when
 Application.get().getDebugSettings().isDevelopmentUtilitiesEnabled() == false

 Best Regards,
             Mikko




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Re: Should wicket-devutils be initialized when development utilies are disabled?

2011-09-20 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-4067

On Tue, Sep 20, 2011 at 11:24 AM, Martin Grigorov mgrigo...@apache.org wrote:
 Hi Mikko,

 This is a good point!
 I'll improve it.
 Thanks!

 On Mon, Sep 19, 2011 at 8:46 PM, Mikko Pukki
 mikko.pu...@syncrontech.com wrote:
 Hi,

 I just noticed that when wicket-devutils is included in compilation, 
 Application's initializeComponents
 initializes org.apache.wicket.devutils.debugbar.DebugBarInitializer. Because 
 of this
 org.apache.wicket.devutils.diskstore.DebugDiskDataStore is in use even when 
 application is in deployment
 mode. I guess it makes unnecessary disk i/o because pages of devutils cannot 
 be accessed when
 Application.get().getDebugSettings().isDevelopmentUtilitiesEnabled() == false

 Best Regards,
             Mikko




 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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



Should wicket-devutils be initialized when development utilies are disabled?

2011-09-19 Thread Mikko Pukki
Hi,

I just noticed that when wicket-devutils is included in compilation, 
Application's initializeComponents
initializes org.apache.wicket.devutils.debugbar.DebugBarInitializer. Because of 
this
org.apache.wicket.devutils.diskstore.DebugDiskDataStore is in use even when 
application is in deployment
mode. I guess it makes unnecessary disk i/o because pages of devutils cannot be 
accessed when
Application.get().getDebugSettings().isDevelopmentUtilitiesEnabled() == false

Best Regards,
 Mikko