You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Vincent <vi...@gmail.com> on 2006/07/19 05:20:06 UTC
Directly extract tar.gz or bz2 package
Hi ,
I am wondering is it possible to directly get the content of tar.gz or
bz2 package?
Currently we have to use gunzip and untar to do this.
best regards,
Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Directly extract tar.gz or bz2 package
Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
Yes: http://ant.apache.org/manual/CoreTasks/unpack.html and
http://ant.apache.org/manual/CoreTasks/unzip.html . Please note that
bzip2 handling is very slow. It is much faster to run bunzip2.
- Alexey.
Vincent wrote:
> Hi ,
>
> I am wondering is it possible to directly get the content of tar.gz or
> bz2 package?
> Currently we have to use gunzip and untar to do this.
>
> best regards,
> Vincent
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
Re: Directly extract tar.gz or bz2 package
Posted by James Fuller <ji...@ruminate.co.uk>.
Vincent wrote:
> Hi ,
>
> But still needs to steps right?
> First step : unpack tar.gz to tar
> Second step : unpack contents of tar
>
> I am wondering if we can just one step to do this?
> Just like shell command
> tar xzf xxx.tar.gz
>
just look at the <tar/> command in the manual.
--Jim Fuller
> best regards,
> Vincent
>
> On 7/20/06, Anderson, Rob (Global Trade) <Ro...@nike.com> wrote:
>
>> Yes.
>>
>> http://ant.apache.org/manual/index.html
>>
>> -Rob A
>>
>> > -----Original Message-----
>> > From: Vincent [mailto:vincent82@gmail.com]
>> > Sent: Tuesday, July 18, 2006 8:20 PM
>> > To: user@ant.apache.org
>> > Subject: Directly extract tar.gz or bz2 package
>> >
>> > Hi ,
>> >
>> > I am wondering is it possible to directly get the content of tar.gz or
>> > bz2 package?
>> > Currently we have to use gunzip and untar to do this.
>> >
>> > best regards,
>> > Vincent
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
>> > additional commands, e-mail: user-help@ant.apache.org
>> >
>> >
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Directly extract tar.gz or bz2 package
Posted by Vincent <vi...@gmail.com>.
Hi ,
But still needs to steps right?
First step : unpack tar.gz to tar
Second step : unpack contents of tar
I am wondering if we can just one step to do this?
Just like shell command
tar xzf xxx.tar.gz
best regards,
Vincent
On 7/20/06, Anderson, Rob (Global Trade) <Ro...@nike.com> wrote:
> Yes.
>
> http://ant.apache.org/manual/index.html
>
> -Rob A
>
> > -----Original Message-----
> > From: Vincent [mailto:vincent82@gmail.com]
> > Sent: Tuesday, July 18, 2006 8:20 PM
> > To: user@ant.apache.org
> > Subject: Directly extract tar.gz or bz2 package
> >
> > Hi ,
> >
> > I am wondering is it possible to directly get the content of tar.gz or
> > bz2 package?
> > Currently we have to use gunzip and untar to do this.
> >
> > best regards,
> > Vincent
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> > additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: Directly extract tar.gz or bz2 package
Posted by "Anderson, Rob (Global Trade)" <Ro...@nike.com>.
Yes.
http://ant.apache.org/manual/index.html
-Rob A
> -----Original Message-----
> From: Vincent [mailto:vincent82@gmail.com]
> Sent: Tuesday, July 18, 2006 8:20 PM
> To: user@ant.apache.org
> Subject: Directly extract tar.gz or bz2 package
>
> Hi ,
>
> I am wondering is it possible to directly get the content of tar.gz or
> bz2 package?
> Currently we have to use gunzip and untar to do this.
>
> best regards,
> Vincent
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For
> additional commands, e-mail: user-help@ant.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org