ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Moon" <Ed.M...@movielink.com>
Subject RE: property environment="env" doesn't work everywhere
Date Wed, 04 May 2005 21:03:57 GMT
AFAIK, this problem has to do with differences in how the 2 linux boxes
are setup and isn't an ant issue.

I suspect if you do 'echo $ANT_HOME' on your 2 linux boxes, you'll find
that the environment variable isn't defined on one of the boxes.
 

-----Original Message-----
From: EJ Ciramella [mailto:eciramella@archivas.com] 
Sent: Wednesday, May 04, 2005 1:54 PM
To: Ant Users List
Subject: Re: property environment="env" doesn't work everywhere

That's what I did, so instead of doing

<property environment="env"/>

and later using things like ${env.ANT_HOME}, I just use ${ant.home}, why
did this change and why does this work in some places and not in others?
Both work on my mac, but this is weird.

On May 4, 2005, at 4:50 PM, Dominique Devienne wrote:

>> From: EJ Ciramella [mailto:eciramella@archivas.com]
>>
>> Has anyone else seen this behavior?  I used env.ANT_HOME on one box
> and
>> it didn't get expanded, but on another, it worked just fine.  Both 
>> machines are running:
>>
>> root@testbuild:~# uname -a
>> Linux testbuild 2.6.11.7 #1 Tue Apr 12 17:04:43 EDT 2005 i686 unknown

>> unknown GNU/Linux


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


Mime
View raw message