nicolas de loof wrote:
My idea was simply to copy/paste code from the ant Property class.
AFAIK this one has been largely tested and works on many (if not all
?) platforms.
Nico.
This sounds reasonable. We should only ensure that nothing of this code
for accessing environment variables leaks into the public API, so that
we can later replace it by something else (e.g. when we switch to JDK
1.5 or if [lang] decides to provide this feature, too).
I am glad to review and apply patches :-)
Oliver
2007/9/19, Oliver Heger <[EMAIL PROTECTED]>:
nicolas de loof wrote:
Hello,
Did anyone allready ask for support in commons-configuration to acces
environement variables, the same way it is available with ant
<property> ?
I'll need it and can contribute for this.
Nico.
There is an enhancement ticket about this topic [1] with a longer
discussion. There was also a thread on the mailing list at this time.
How would you implement access to OS environment variables in a portable
way?
Oliver
[1] http://issues.apache.org/jira/browse/CONFIGURATION-284
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]