ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Moon, Ed" <EM...@sonypictures.com>
Subject RE: Access to Environment Variables other than ANT_HOME of CLASSP ATH
Date Wed, 19 Mar 2003 23:30:59 GMT
Most environment variables on my W2k laptop at work are uppercase.

By convention, environment variables on Linux, Mac OS X, and Solaris
boxes are also uppercase.

In my environment <property environment> works fine.

Are these environment variables you wish to use set by the OS or by an
end user?

-----Original Message-----
From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com] 
Sent: Wednesday, March 19, 2003 3:09 PM
To: 'Ant Users List'
Subject: RE: Access to Environment Variables other than ANT_HOME of
CLASSP ATH


There are other ways - you can use <loadproperty> to load properties
from a file. You can add -Dproperty=value in ANT command. They work fine
without hacking.

- Alexey.
--
{ http://trelony.cjb.net/ } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

-----Original Message-----
From: James Sinnamon [mailto:James.Sinnamon@cs.anu.edu.au] 
Sent: Wednesday, March 19, 2003 3:05 PM
To: Ant Users List
Subject: Re: Access to Environment Variables other than ANT_HOME of
CLASSP ATH

Alexey,

On Thu, 20 Mar 2003 09:10, you wrote:
> But <property environment> is not very useful, because it is case
sensitive
> and many environment variables have different case on Windows and on 
> Unix.
>
> - Alexey.

We were only aiming to have our project built on Unix systems for now.
So 
this won't be a problem for the foreseeable future.

When we do cross that bridge, we will probably use the more standard
means of setting configuration parameters and dispense with environment
variables.

Thanks for pointing thei out all the same.

Best regards,

James



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message