[Building Sakai] Change wicket from development mode to production mode
Steve Swinsburg
steve.swinsburg at gmail.com
Thu Jul 23 03:23:10 PDT 2009
There are two ways to do this:
1. In your web.xml set a context-param:
<context-param>
<param-name>configuration</param-name>
<!-- <param-value>development</param-value> -->
<param-value>deployment</param-value>
</context-param>
2. In your Application class override getConfigurationType():
public String getConfigurationType()
{
return Application.DEPLOYMENT;
}
cheers,
Steve
p.s. upgrade Wicket from 1.3.0 to 1.3.6
On 23 Jul 2009, at 06:59, Neeru Joshi wrote:
>
> Hi,
>
> I am using sakai-wicket 1.3.0 in sakai 2.5.4. I have noticed the
> warning
> wicket gives on initialization
>
> ********************************************************************
> *** WARNING: Wicket is running in DEVELOPMENT mode. ***
> *** ^^^^^^^^^^^ ***
> *** Do NOT deploy to your live server(s) without changing this. ***
> *** See Application#getConfigurationType() for more information. ***
> ********************************************************************
>
> How to ensure that wicket runs in production mode??
>
> Thanks,
> Neeru
> --
> View this message in context: http://www.nabble.com/Change-wicket-from-development-mode-to-production-mode-tp24619745p24619745.html
> Sent from the Sakai - Development mailing list archive at Nabble.com.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
> with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090723/903f941b/attachment.html
More information about the sakai-dev
mailing list