Stefan Bodewig wrote re. ${ant.home}:
Keep in mind that it is our wrapper script that sets the property.
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.

--
[EMAIL PROTECTED]   x22801   netbeans.org   ant.apache.org
if I had known it was harmless I would have killed it myself


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to