Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2A28B2009EE for ; Wed, 18 May 2016 21:26:16 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28EEA160A15; Wed, 18 May 2016 19:26:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 97B74160A00 for ; Wed, 18 May 2016 21:26:15 +0200 (CEST) Received: (qmail 24693 invoked by uid 500); 18 May 2016 19:24:25 -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 21036 invoked by uid 99); 18 May 2016 19:23:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 May 2016 19:23:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1880D2C1F7C for ; Wed, 18 May 2016 19:23:13 +0000 (UTC) Date: Wed, 18 May 2016 19:23:13 +0000 (UTC) From: "Oliver Heger (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONFIGURATION-630) multiple line issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 18 May 2016 19:26:16 -0000 [ https://issues.apache.org/jira/browse/CONFIGURATION-630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15289635#comment-15289635 ] Oliver Heger commented on CONFIGURATION-630: -------------------------------------------- Thanks for this report. Could you please elaborate a bit: Is this only a formatting issue (the line break is lost on saving) or are there other problems (e.g. the value of the property is not correctly read)? > multiple line issue > ------------------- > > Key: CONFIGURATION-630 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-630 > Project: Commons Configuration > Issue Type: Bug > Affects Versions: 2.0 > Reporter: Julius > Priority: Minor > > source: > SOLR_HEAP="512m" > GC_TUNE="-XX:NewRatio=3 \ > -XX:SurvivorRatio=4" > code: > FileBasedConfigurationBuilder builder = > new FileBasedConfigurationBuilder(PropertiesConfiguration.class) > .configure(new Parameters().properties().setFileName(fileName) > .setThrowExceptionOnMissing(true)); > PropertiesConfiguration config = builder.getConfiguration(); > config.setProperty("SOLR_HEAP", "\"525m\""); > builder.save(); > result: > SOLR_HEAP="525m" > GC_TUNE="-XX:NewRatio=3 -XX:SurvivorRatio=4" -- This message was sent by Atlassian JIRA (v6.3.4#6332)