ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Tar Error: fileset doesn't denote a Tar$TarFileSet
Date Thu, 27 Apr 2006 03:58:44 GMT
On Wed, 26 Apr 2006, jmaxwell <jeff.maxwell@gmail.com> wrote:
> I am trying to use a fileset reference with the tar task
> 
> <fileset id="lib.fileset" dir="${build.dir}">
>   <include name="include/**" />
>   <include name="lib/**" />
> </fileset>
> 
> <tar destfile="${dist.package.dir}/${dist.lib.package}"
>   compression="gzip">
>   <tarfileset refid="lib.fileset" />
> </tar>

Since you don't use any of the additional features of tarfileset,
there is no reason to use it at all, simply use

  <tar destfile="${dist.package.dir}/${dist.lib.package}"
    compression="gzip">
    <fileset refid="lib.fileset" />
  </tar>

Stefan

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


Mime
View raw message