From issues-return-8646-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Thu Jun 25 09:11:19 2009 Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 12124 invoked from network); 25 Jun 2009 09:11:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Jun 2009 09:11:19 -0000 Received: (qmail 99651 invoked by uid 500); 25 Jun 2009 09:11:30 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 99534 invoked by uid 500); 25 Jun 2009 09:11:29 -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 99524 invoked by uid 99); 25 Jun 2009 09:11:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 09:11:29 +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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jun 2009 09:11:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 70B3E234C051 for ; Thu, 25 Jun 2009 02:11:07 -0700 (PDT) Message-ID: <1943498472.1245921067460.JavaMail.jira@brutus> Date: Thu, 25 Jun 2009 02:11:07 -0700 (PDT) From: "Emmanuel Bourg (JIRA)" To: issues@commons.apache.org Subject: [jira] Commented: (CONFIGURATION-353) Allow Commons Configuration to set system properties In-Reply-To: <1065651357.1229637824349.JavaMail.jira@brutus> 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/CONFIGURATION-353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723962#action_12723962 ] Emmanuel Bourg commented on CONFIGURATION-353: ---------------------------------------------- Commons Configuration is a generic API, not a framework. We cannot make restrictive assumptions on how the API must be used. In particular we cannot judge that system properties are not worth being initialized from something else than a properties file. What if someone wants to use a INI or a plist file? I understand the intent of the change, but I don't think SystemConfiguration should have been changed. The configuration builder is the only "framework-ish" part of Commons Configuration, this is where such changes can take place. The rest of the API should remain as generic as possible. > Allow Commons Configuration to set system properties > ---------------------------------------------------- > > Key: CONFIGURATION-353 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-353 > Project: Commons Configuration > Issue Type: New Feature > Affects Versions: 1.6 > Environment: All > Reporter: Ralph Goers > Fix For: 1.6 > > > SystemConfiguration allows the system properties to be accessed as a configuration and used in a combined configuration. However, no mechanism is available to set system properties from an external file. Such a facility would alleviate having to place a bunch of -D options on the command line. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.