<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 &lt;server xmlns=&quot;urn:jboss:domain:2.0&quot; development-mode=&quot;true&quot;&gt;<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">&lt;<a href="mailto:pmuir@redhat.com" target="_blank">pmuir@redhat.com</a>&gt;</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 &lt;<a href="mailto:manderse@redhat.com">manderse@redhat.com</a>&gt; wrote:<br>
<br>
&gt; First off Stuart - can I give you a hug ? This is awesome!<br>
&gt;<br>
&gt; 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>
&gt; i.e. --dev command line flag.<br>
&gt;<br>
&gt;&gt; In Wildfly upstream I am introducing a &#39;development mode&#39; flag (it is actually in Alpha3 as well, but I am going to change how it is represented in the model).<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt; - Set JSP development mode<br>
&gt;<br>
&gt; Great - so this means Wildfly will recompile .jsp files when changed, correct ? Anything else ?<br>
&gt;<br>
&gt;&gt; - Display stack traces in error pages. We do not do this by default for security reasons.<br>
&gt;<br>
&gt; Cool.<br>
&gt;<br>
&gt;&gt; - Disable caching so file changes are picked up straight away<br>
&gt;<br>
&gt; Okey - haven&#39;t really noticed caching happening in the past though (except when VFS was put in front of seam ear&#39;s in AS5 days).<br>
&gt;<br>
&gt;&gt; - 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>
&gt;<br>
&gt; AWESOME x infinity!<br>
&gt;&gt; I was wondering if anyone had any ideas for other features we could add to make development easier?<br>
&gt;<br>
&gt; JSF/facelets have a development mode too if I recall? maybe that makes sense too ?<br>
&gt;<br>
&gt; /max<br>
&gt;<br>
&gt;<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>