commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chandra (JIRA)" <>
Subject [jira] Commented: (CONFIGURATION-284) ability to read OS environment variables
Date Tue, 06 Oct 2009 04:57:31 GMT


Chandra commented on CONFIGURATION-284:

Hello there,
The "env" interpolator prefix still does not seem to work. On investigation, I noticed that
we have a new java class to support reading environment variables from different OSes, but
there is no interpolator class (extending StrLookup) that supports the "env" prefix.
Could someone look into this? For the moment, I have put in a class myself locally. Will add
to the repository once I find some time..


> ability to read OS environment variables
> ----------------------------------------
>                 Key: CONFIGURATION-284
>                 URL:
>             Project: Commons Configuration
>          Issue Type: New Feature
>          Components: Interpolation
>            Reporter: Aksel Schmidt
>            Assignee: Oliver Heger
>            Priority: Minor
>             Fix For: 1.5
>         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