Cedric,
I missed it at first glance, but you will notice that the dir for the
<tarfileset> is actually one-up from the token dir:
"<tarfileset dir="${dist.name}/.." ...>"
It is starting at the parent dir of the ${dist.name}
-Jason
> -----Original Message-----
> From: Cedric Berger [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 06, 2001 12:24 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tar/Tarfileset broken on Ant 1.3 ?
>
>
> Hi Stefan:
>
> Stefan Bodewig wrote:
>
> >There are bugs in Ant 1.3's tarfilest, but what you see
> is expected
> >behavior:
> >
> >> <tar tarfile="${dist}/http-proxy.tar">
> >> <tarfileset dir="${build}/http.proxy" mode="755"
> username="0" group="0">
> >> <include name="${build}/http.proxy/**/*.sh"/>
> >> </tarfileset>
> >> <tarfileset dir="${build}/http.proxy" mode="644"
> username="0" group="0">
> >> <include name="{build}/http.proxy/**/*.jar"/>
> >> </tarfileset>
> >> </tar>
> >>
> >
> >The include pattern is supposed to be relative to the
> dir attribute -
> >
> This is not what the example in the documentation shows.
> Please look at the example at the bottom of:
> http://jakarta.apache.org/ant/manual/CoreTasks/tar.html
>
> >
> >Ant doesn't find any files and therefore assumes the archive is
> >up-to-date.
> >
> >Make that
> >
> > <tar tarfile="${dist}/http-proxy.tar">
> > <tarfileset dir="${build}/http.proxy" mode="755"
> username="0" group="0">
> > <include name="**/*.sh"/>
> > </tarfileset>
> > <tarfileset dir="${build}/http.proxy" mode="644"
> username="0" group="0">
> > <include name="**/*.jar"/>
> > </tarfileset>
> > </tar>
> >
> If you look at (the bottom of) my original message, you
> will see that
> I've tryed that too, and it didn't work neither.
>
> Cedric
>
>
>
>
>