ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <n...@seessle.de>
Subject Re: <env> file (was: RE: refid in property)
Date Fri, 29 Sep 2000 08:38:43 GMT
----- Original Message -----
From: "Diane Holt" <holtdl@yahoo.com>
To: <ant-dev@jakarta.apache.org>
Sent: Friday, September 29, 2000 4:35 AM
Subject: <env> file (was: RE: refid in property)


> >  <exec>
> >    <env name="CLASSPATH" value="${p}" />
> >    <arg line="cat ${fs}" />
> >  </exec>
>
> On the subject of <env> -- I'm not clear what the file attribute does. The
> doc doesn't show an example of its use, and the description it gives of it
> is (to me, anyway) a bit vague. Does it somehow work in conjunction with
> the dir attribute of the <exec>?
>

Ant just makes sure the absoulte path to the file you specify is used, if
you set <env name="foo" file="bar"/> it should be resolved to something like
<env name="foo" file="${build.home}/bar"/> (if build.home is the current
directory).

Nico



Mime
View raw message