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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to