Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 55105 invoked from network); 26 Feb 2008 19:09:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2008 19:09:46 -0000 Received: (qmail 47171 invoked by uid 500); 26 Feb 2008 19:09:40 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 47118 invoked by uid 500); 26 Feb 2008 19:09:40 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 47100 invoked by uid 99); 26 Feb 2008 19:09:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 11:09:40 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 19:09:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B465929A0017 for ; Tue, 26 Feb 2008 11:08:51 -0800 (PST) Message-ID: <1225610834.1204052931737.JavaMail.jira@brutus> Date: Tue, 26 Feb 2008 11:08:51 -0800 (PST) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (CONFIGURATION-314) Allow custom separator characters when writing out PropertiesConfiguration In-Reply-To: <1571403269.1204048731298.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CONFIGURATION-314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Bourg updated CONFIGURATION-314: ----------------------------------------- Fix Version/s: 1.6 This is a good idea. To remain compatible with the Properties format the separator must be restricted to '=', ':', or a white space other than a line terminator. > Allow custom separator characters when writing out PropertiesConfiguration > -------------------------------------------------------------------------- > > Key: CONFIGURATION-314 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-314 > Project: Commons Configuration > Issue Type: Improvement > Affects Versions: 1.5 > Reporter: Kenny MacLeod > Fix For: 1.6 > > > While PropertiesConfiguration is tolerant of several different key/value separator characters when reading a properties stream, it is hard-wired to use an "=" character when writing them out again. > Can we please have a way to customise this? Seems like a perfect use for the PropertiesConfigurationLayout. > Sadly, because of the way that PropertiesWriter has been implemented, it's impossible to extend and override this behaviour without copying large chunks of code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.