ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmaxwell <jeff.maxw...@gmail.com>
Subject Re: Tar Error: fileset doesn't denote a Tar$TarFileSet
Date Thu, 27 Apr 2006 05:38:08 GMT

Stefan,

Actually I did need the additional feature: prefix.

It is not a huge deal one way or the other.
I just like to define all my patternsets and filesets in one location.

Cheers,
Jeff


Stefan Bodewig wrote:
> 
> 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
> 
> 
> 

--
View this message in context: http://www.nabble.com/Tar-Error%3A-fileset-doesn%27t-denote-a-Tar%24TarFileSet-t1512931.html#a4114873
Sent from the Ant - Users forum at Nabble.com.


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


Mime
View raw message