<div dir="ltr"><div><div><div><div>We need to add this development flag on higher level then just undertow subsystem.<br><br></div>It should be server-wide configuration.<br></div>this would enable also other subsystems to behave differently, like the jsf about forcing jsf/facelets development.<br>
<br></div>maybe we can add this to top level element of server? aka <server xmlns="urn:jboss:domain:2.0" development-mode="true"><br></div><br><div>Max for now this is mgmt configuration for servlet-container but we could easily set default value to be passed from system property.<br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 2:46 PM, Pete Muir <span dir="ltr"><<a href="mailto:pmuir@redhat.com" target="_blank">pmuir@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Adding Burr.<br>
<br>
One idea would be to alter the logging config to log DEBUG messages by default in this mode?<br>
<div class="HOEnZb"><div class="h5"><br>
On 31 Jul 2013, at 13:12, Max Andersen <<a href="mailto:manderse@redhat.com">manderse@redhat.com</a>> wrote:<br>
<br>
> First off Stuart - can I give you a hug ? This is awesome!<br>
><br>
> How is this flag set ? it should be do able via a startup flag and not require to invoke some management operation after the startup to be really useful.<br>
> i.e. --dev command line flag.<br>
><br>
>> In Wildfly upstream I am introducing a 'development mode' flag (it is actually in Alpha3 as well, but I am going to change how it is represented in the model).<br>
>> Basically the idea with this is that when this flag is set the server behaves in a way that is much more developer friendly, but is not suitable for production use. So far the changes are:<br>
>><br>
>> - Set JSP development mode<br>
><br>
> Great - so this means Wildfly will recompile .jsp files when changed, correct ? Anything else ?<br>
><br>
>> - Display stack traces in error pages. We do not do this by default for security reasons.<br>
><br>
> Cool.<br>
><br>
>> - Disable caching so file changes are picked up straight away<br>
><br>
> Okey - haven't really noticed caching happening in the past though (except when VFS was put in front of seam ear's in AS5 days).<br>
><br>
>> - Optionally persist session information across redeployments (still needs a little bit of work), which should prevent a developer from having to re-log in every time they redeploy.<br>
><br>
> AWESOME x infinity!<br>
>> I was wondering if anyone had any ideas for other features we could add to make development easier?<br>
><br>
> JSF/facelets have a development mode too if I recall? maybe that makes sense too ?<br>
><br>
> /max<br>
><br>
><br>
<br>
<br>
_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br>
</div></div></blockquote></div><br></div>