ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Cohen <>
Subject Re: Can Ant know ANT_HOME?
Date Mon, 23 May 2005 03:10:04 GMT
Alexey Solofnenko wrote:
> Please use ${ant.home} property.
> - Alexey.
> On 5/22/05, Steve Cohen <> wrote:
>>I am trying to write a simple build.xml for debugging Ant setups. One
>>of the things I would like to know is what ANT_HOME was defined as when
>>Ant launched. But this does not seem to be a predefined ant property.
>>I naively thought that I could do
>><property environment="env"/>
>>this will not work unless ANT_HOME is predefined in the environment.
>>The typical ant launch scripts will define ANT_HOME but not export it
>>into the environment.
Yes, I found that.  It's not documented, however.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message