You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Tom Lister <To...@ABSL.COM> on 2001/12/14 12:29:11 UTC

environment variable name - numerics allowed?

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?

:-)
Regards
Tom_Lister@absl.com <ma...@absl.com> 
Advanced Banking Solutions Limited
+44 (0)20 7448 9146
º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,
¸¸,ø¤º°'°º¤ø,¸¸,
This email and any attachments are confidential. They may contain privileged

information or useless trivia and are intended for the named addressee (s)
only. 
They must not be distributed without our consent. If you are not the
intended recipient, 
please notify us immediately and do not disclose, distribute, or retain this
email or any
part of it. Unless expressly stated, opinions in this email are those of the

individual sender, and not of Advanced Banking Solutions Limited. We believe

but do not warrant that this e-mail and any attachments are virus free. You
must
therefore take full responsibility for virus checking. Advanced Banking
Solutions
Limited and its subsidiaries reserve the right to monitor all email
communications
through their networks.                 
º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤º°'°º¤ø,¸¸,ø¤ºº¤ø,
¸¸,ø¤º°'°º¤ø,¸¸,

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: environment variable name - numerics allowed?

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>