ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject RE: Changes to new build process
Date Thu, 25 Jan 2001 01:10:34 GMT
> From: Peter Donald []
> >The construct
> >    <zip zipfile="${dist.base}/${}"
> >         basedir="${dist.dir}/.."
> >         includes="${dist.dir}/**"/>
> >would fail for values of "dist.dir" which are not a simple directory.
> >Absolute paths and paths containing a / will fail to work as expected.
> I am not 100% sure why could you explain. The only thing I can think of is
> the include not working - in which case we could replace it with
> "${dist.dir}/../**" which should work, no ?

Let us say that dist.dir = dist/special.

Then the above becomes

<zip zipfile="${dist.base}/${}"

There will be no dist/special directory in dist which is where dist/special
resolves to. Therefore nothing will be in the zip. Absolute paths fail in a
similar fashion. I don't think your proposed change would fix that. Anyway,
it is a moot point now, since this zip is only performed by the bin-dist
target and the dirs are always of the correct form.


View raw message