ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@apache.org>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/tar TarEntry.java
Date Wed, 21 Nov 2001 09:23:56 GMT
1. To list contents of tar without actually extracting files.  Most useful
use-case that drove me
to add this.
2. To get a list of extracted files for eyeballing and/or validation between
expected and generated.
3. A roundabout way to list contents of a directory - user can tar and then
untar
with just verbose turned on.
4. For future needs - let's say user wants a diff of two directories - one
way is to tar contents of
these two directories separately and then diff the verbose generated by
untar without
expanding it, etc.

Magesh

----- Original Message -----
From: "Peter Donald" <peter@apache.org>
To: "Ant Developers List" <ant-dev@jakarta.apache.org>
Sent: Wednesday, November 21, 2001 3:48 AM
Subject: Re: cvs commit: jakarta-ant/src/main/org/apache/tools/tar
TarEntry.java


> Im curious what the usecase of the outfile attribute for all these
> attributes. The only thing I can think of is to help validate the contents
of
> archives match expected contents. Or is there some other reason?
>
> --
> Cheers,
>
> Pete
>
> *------------------------------------------------------*
> | "Computers are useless. They can only give you       |
> |            answers." - Pablo Picasso                 |
> *------------------------------------------------------*
>
> --
> To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>
>
>



--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message