ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: Can Ant know ANT_HOME?
Date Thu, 26 May 2005 10:16:28 GMT
Jesse Glick wrote:

> Stefan Bodewig wrote re. ${ant.home}:
>
>> Keep in mind that it is our wrapper script that sets the property.
>
<picky_mode>
  It is actually set by Laucher.java as well if not already set.
</picky_mode>

Peter

>> If you launch ant any other way (IDE, script of your own, embedded), 
>> there is no guarantee that it will be defined.
>
>
> As an example, the NetBeans IDE does define it as of version 3.6 
> (previously it did not). But other environments could well choose not 
> to use the distribution layout at all. Since I have noticed that a 
> common use for it is to find ant.jar (e.g. to compile new tasks, 
> without making assumptions about the JVM startup classpath), I filed 
> RFE #21856. But that would not help in Steve Cohen's case.
>
> -J.
>


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


Mime
View raw message