At 12:39  29/1/01 -0300, Javier Kohen wrote:
>
>Hello,
>I'm using Ant-1.2 to build my project, and everything but one thing is
working as I expect, the tarball generated by the following command doesn't
keep the executable bit in the file mode:
>
>  <tar tarfile="${name}-${DSTAMP}.tar" basedir="${dist.dir}" includes="**" />
>
>Any suggestions?

Unfortunately it is a limitation of java. Java can not determine if +x is
set so nor can ant ;( There has been suggestions in the past that you could
create a sub-element of tar task that explicitly sets +x for a fileset but
no one has stepped up to do it yet - feel free to have a bash ;)

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

Reply via email to