Knut,
I'm not sure exactly what your question is...
if you are asking for a better list of built-in ant properties, I think
a good list of the built-in properties (maybe all of the built-in
properties) is given when you run ant with the -debug option.
Also, another thing that is nice about ant is you can get to all of your
environment variables by doing something like:
<property environment="env"/>
<property name="home.directory" value="${env.HOME}"/>
In linux, this sets home.directory to the value of the HOME environment
variable.
Hopefully this helps,
-Mike
In response to:
Hi,
In the manual of Ant there is a list of built-in properties
(http://jakarta.apache.org/ant/manual/using.html#built-in-props)
including basedir, ant.version, etc. But I was wondering why ant.home
isn't to be found in this list. Afterall it is directly referenced by
the core <exec> task.
I noticed this, because I used this property somewhere to reference jars
in ${ant.home}/lib, which probably isn't that clean anyway...
--
knut
--
To unsubscribe, e-mail: <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
|