ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Property not evaluated in project "basedir" attribute
Date Tue, 12 Dec 2000 17:04:49 GMT
DONNIE HALE <DHALE@longaberger.com> wrote:

> In my ant command line, I'm setting a property via
> "-dBLDROOT=$BLDROOT" (Korn shell). The project element in the build
> file attempts to set basedir using 'basedir="${BLDROOT}".

Currently Ant won't expand properties in <project> or <target>. A
workaround would be to not define basedir at all and invoke Ant with
-Dbasidr=$BLDROOT as Ant looks for a property named basedir if the
corresponding attribute has not been set.

Stefan

Mime
View raw message