commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof (JIRA)" <>
Subject [jira] Updated: (CONFIGURATION-284) ability to read OS environment variables
Date Fri, 21 Sep 2007 07:18:50 GMT


nicolas de loof updated CONFIGURATION-284:

    Attachment: CONFIGURATION-284.patch

As discussed on mailing list 

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:
>             Project: Commons Configuration
>          Issue Type: New Feature
>          Components: Interpolation
>            Reporter: Aksel Schmidt
>            Priority: Minor
>         Attachments: CONFIGURATION-284.patch,
> suggestion:
> interpolation with system environment, i.e.
> ${} 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.

View raw message