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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]