[
https://issues.apache.org/jira/browse/CONFIGURATION-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
nicolas de loof updated CONFIGURATION-284:
------------------------------------------
Attachment: CONFIGURATION-284.patch
As discussed on mailing list
(http://mail-archives.apache.org/mod_mbox/commons-dev/200709.mbox/[EMAIL
PROTECTED])
This patch introduces a new EnvironmentConfiguration implementation of
Configuration that uses apache Ant on java < 5 to read the platform
environment. On java5 runtime it uses System.getEnv() to avoid unecessary
dependency on ant.
the ant dependency has been set optionnal in the POM, as it is required only
for this feature and only on java < 5
> ability to read OS environment variables
> ----------------------------------------
>
> Key: CONFIGURATION-284
> URL: https://issues.apache.org/jira/browse/CONFIGURATION-284
> Project: Commons Configuration
> Issue Type: New Feature
> Components: Interpolation
> Reporter: Aksel Schmidt
> Priority: Minor
> Attachments: CONFIGURATION-284.patch, EnvironmentConfiguration.java
>
>
> suggestion:
> interpolation with system environment, i.e.
> ${sys:user.name} reads from systemproperties (as of today)
> ${sysenv:TEMP} reads from OS environment
> these can be parsed from a supported set of OS's - windows read from a set in
> a "cmd /c", unix/linux from an "env" etc. (just once on demand)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.