Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97F7D10435 for ; Wed, 19 Mar 2014 19:52:31 +0000 (UTC) Received: (qmail 25233 invoked by uid 500); 19 Mar 2014 19:51:44 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 25203 invoked by uid 500); 19 Mar 2014 19:51:43 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 25191 invoked by uid 99); 19 Mar 2014 19:51:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Mar 2014 19:51:43 +0000 Date: Wed, 19 Mar 2014 19:51:43 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4267) When devMode is enabled via CustomConfigProvider it is not possible to enable reloading automatically MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940901#comment-13940901 ] ASF subversion and git services commented on WW-4267: ----------------------------------------------------- Commit bd2a5ea8d5f5dc6468f4883c0768066f4e721fe1 in struts's branch refs/heads/develop from [~lukaszlenart] [ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=bd2a5ea ] Merge branch 'develop' into 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)