ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Zip and Tar tasks failing
Date Wed, 23 May 2012 04:09:05 GMT
On 2012-05-22, Lewis John Mcgibbney wrote:

> I've hit a rather strange situation whilst releasing some artifacts.
> Specifically the strange part of this relates to the tar, tar-bin, zip
> and zip-bin targets in the following build.xml file [0].

pressed send to soon.

>From reading your build file

${dist.version.dir}=${dist.dir}/${final.name}

You copy stuff to ${dist.version.dir}-bin (note the minus) and then try
to include them in your tar task from ${dist.dir}/${final.name}/
(excluding ${dist.dir}/${final.name}/bin/)  But that directory doesn't
even exist.

Your "-" and "/" disagree with each other.  You want to exclude
${final.name}-bin/ and include ${final.name}-src/ or ${final.name}*/

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message