You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2007/09/22 22:05:50 UTC

[jira] Commented: (CONFIGURATION-284) ability to read OS environment variables

    [ https://issues.apache.org/jira/browse/CONFIGURATION-284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529690 ] 

Oliver Heger commented on CONFIGURATION-284:
--------------------------------------------

Many thanks for this contribution. Some questions:

- Is it possible to add a unit test?
- Do you know whether ant is compatible with JDK 1.3? This is still our target JDK. If it is, I can directly apply this patch. Otherwise we probably have to wait for the next version (I expect configuration 1.5 to be last version that is compatible to JDK 1.3; the next version - 1.6 or 2.0, however it will be called - will require JDK 1.4).

Thanks again.

> 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.