ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Duncan Davidson <dun...@x180.net>
Subject Re: check of environment variables...
Date Tue, 02 Jan 2001 22:32:04 GMT
On 1/2/01 1:13 PM, "Nico Seessle" <Nico.Seessle@epost.de> wrote:

>> ... is it possible ? .... I would like to check if CVS_ROOT and CVS_RSH has
>> been set.
>> 
> Only if you pass them to ant using -DCVS_ROOT=$CVS_ROOT (or %CVS_ROOT% on
> Windows). You can then access them as "normal" properties.

Right. Note that this is because you can't access env vars from within Java
without writing native code.

-- 
James Duncan Davidson                                        duncan@x180.net
                                                                  !try; do()


Mime
View raw message