Return-Path: Delivered-To: apmail-incubator-jspwiki-dev-archive@minotaur.apache.org Received: (qmail 876 invoked from network); 29 Aug 2010 18:00:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Aug 2010 18:00:19 -0000 Received: (qmail 25158 invoked by uid 500); 29 Aug 2010 18:00:19 -0000 Delivered-To: apmail-incubator-jspwiki-dev-archive@incubator.apache.org Received: (qmail 25128 invoked by uid 500); 29 Aug 2010 18:00:19 -0000 Mailing-List: contact jspwiki-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-dev@incubator.apache.org Delivered-To: mailing list jspwiki-dev@incubator.apache.org Received: (qmail 25120 invoked by uid 99); 29 Aug 2010 18:00:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Aug 2010 18:00:18 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Aug 2010 18:00:16 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7THxrR9029578 for ; Sun, 29 Aug 2010 17:59:54 GMT Message-ID: <25159118.59681283104792985.JavaMail.jira@thor> Date: Sun, 29 Aug 2010 13:59:52 -0400 (EDT) From: "Harry Metske (JIRA)" To: jspwiki-dev@incubator.apache.org Subject: [jira] Resolved: (JSPWIKI-660) Support external properties in WikiEngine In-Reply-To: <13893893.280901281549688259.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JSPWIKI-660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Harry Metske resolved JSPWIKI-660. ---------------------------------- Fix Version/s: 2.8.5 Resolution: Fixed Fixed in 2.8.5-svn-1 and 3.0.0-svn-220 > Support external properties in WikiEngine > ----------------------------------------- > > Key: JSPWIKI-660 > URL: https://issues.apache.org/jira/browse/JSPWIKI-660 > Project: JSPWiki > Issue Type: Improvement > Components: Core & storage > Reporter: John McKinney > Priority: Minor > Fix For: 2.8.5 > > > It would be nice if we could override the properties currently specified in jspwiki.properties from System.properties. This would allow the ability to have templates, skins and some configuration external to core jspwiki making upgrading a much easier proposition. > I'd suggest something simple such as replacing: > m_templateDir = TextUtil.getStringProperty( props, PROP_TEMPLATEDIR, "default" ); > in WikiEngine with something like: > m_templateDir = TextUtil.getStringProperty( System.getProperties(), PROP_TEMPLATEDIR, TextUtil.getStringProperty( props, PROP_TEMPLATEDIR, "default" )); > For all properties defined in jspwiki.properties -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.