ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: environment variable name - numerics allowed?
Date Fri, 14 Dec 2001 11:34:55 GMT
Tom Lister wrote:

> Hi
> I'm having problems with an environment variable
> Windows NT
> Have define variable
> Set PHX2=P:\workdir
> 
> I an trying to access it in ant using
> <property environment="env"/>
> <property name="phx2" value="${env.PHX2}"/>
> 
> but it is not recognising it
> if I change everything to PHX2a, it seems to work.
> Is there and issues with a number at then of a property or am I missing
> something more obvious here?
> 

Run ant with -debug flag and see how the value is being processed. It 
may be a case sensitivity issue.

Conor




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


Mime
View raw message