You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/03/13 19:19:45 UTC

[jira] [Commented] (WW-4267) When devMode is enabled via CustomConfigProvider it is not possible to enable reloading automatically

    [ https://issues.apache.org/jira/browse/WW-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933803#comment-13933803 ] 

Lukasz Lenart commented on WW-4267:
-----------------------------------

Changes are here https://git-wip-us.apache.org/repos/asf?p=struts.git;a=shortlog;h=refs/heads/feature/WW-4267-removes-defaults

> When devMode is enabled via CustomConfigProvider it is not possible to enable reloading automatically
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WW-4267
>                 URL: https://issues.apache.org/jira/browse/WW-4267
>             Project: Struts 2
>          Issue Type: Bug
>          Components: XML Configuration
>    Affects Versions: 2.3.16
>            Reporter: Christoph Nenning
>            Assignee: Lukasz Lenart
>            Priority: Trivial
>             Fix For: 2.3.17
>
>
> When devMode is enbaled the framework used to enable some other debug options per default, like reloading of config and resources. In 2.3.16 that was changed to be able to have devMode without all of those other options. The reason for that are performance issues with freemarker debug options.
> A side effect of that is that automatic enablement of reloading does not work anymore when devMode is enabled via a CustomConfigProvider.
> To fix that default settings in default.properties can be outcommented. That way it does not take effect at runtime but is still present for developers to read the file.
> These properties are affected:
> - struts.i18n.reload
> - struts.configuration.xml.reload
> - struts.freemarker.templatesCache
> - struts.freemarker.templatesCache.updateDelay



--
This message was sent by Atlassian JIRA
(v6.2#6252)