ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <>
Subject Re: if basedir absolute file name then resolving file names causes duplicate basedirs in resulting string
Date Mon, 21 Aug 2000 02:29:03 GMT
On Fri, 18 Aug 2000, Jesse Glick wrote:


> Can you think of a decent compromise? Perhaps an attribute
> basedir="srcdir1" to <ant> to explicitly override the subproject's
> basedir, with 'dir' meaning only "directory of the ant script"? Or can
> subprojects use variable substitution in their 'basedir' attribute? Or
> make the subproject's basedir set according to its wishes relative to
> its containing directory, if <ant> has no 'dir' attribute (but then the
> behavior is different with dir=".")? Also in your case you could simply
> pass in a ${topdir} or similar variable to the subproject, to be used in
> all paths, but of course this is less convenient than basedir.

View raw message