commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nicolas de loof" <nicolas.del...@gmail.com>
Subject Re: [configuration] accessing emvironment variable (not java system)
Date Thu, 20 Sep 2007 06:50:57 GMT
Your right, I was reading javadoc to fast

2007/9/19, sebb <sebbaz@gmail.com>:
> On 19/09/2007, nicolas de loof <nicolas.deloof@gmail.com> wrote:
> > Looking at http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Execute.java?view=markup
> > procEnvironment()
> >
> > Netware, os/2, z/os, unixes and windows are supported. OpenVMS and
> > MacOS <= 9 seems to be unsupported platforms. MacOS <=9 has no
> > environment variable at all !
>
> Huh?
> OpenVMS does seem to be supported - by parsing the output of "Show logical".
>
> > This method also has been "un deprecated" on Java 5 and can be used on
> > such a runtime. We can invoke it if System.getProprty("java.version")
> > returns > 1.5.
> >
> > Nico.
> >
> >
> > 2007/9/19, nicolas de loof <nicolas.deloof@gmail.com>:
> > > 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.
> > >
> > > 2007/9/19, Oliver Heger <oliver.heger@oliver-heger.de>:
> > > > 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: dev-unsubscribe@commons.apache.org
> > > > For additional commands, e-mail: dev-help@commons.apache.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> > For additional commands, e-mail: dev-help@commons.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message