ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Question about tar support.
Date Mon, 29 Jan 2001 08:22:59 GMT
Andrew Duncan <Andrew.Duncan@SilkRoadSystems.com> wrote:

> I'm completely new to ANT, so I'm not sure exactly how the <tar> tag
> works.
> 
> However, the "p" flag of tar has this description (in Solaris): -
> 

Ant is using a Java implementation of <tar>, not an external
program. As a result of this, <tar> is limited to Java's abilities,
which - unfortunately - means, it doesn't know the slightest thing
about file permissions or ownership.

The easiest (and ugliest) solution is to use <execon> together with a
a command line invocation of tar.

Stefan

Mime
View raw message