You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Yves Leung-Tack <yv...@laposte.net> on 2005/01/13 00:19:52 UTC
tar a directory with ant (precision)
A precision (in *RED*) to the description I brought in the last post
> Hi,
>
> I'm using the tar task of ant but I come with a "problem" when
> untaring the tared files.
> I can make it work but not exaclty the way I want.
> After taring directory basedir, see above, I untar it but I want to
> keep the tar program to untar in
> the directory basedir.
>
> For example:
> basedir
> file1
> file2
> subdir1
> subsubdir1
> subsubdir2
>
> Now when I untar the files tared by ant, it extract it to the current
> directory . *I want it to create a basedir directory and then put the
> files in.*
> Is there a way to tell ant's tar to remember the basedir ?
>
> Thanks
>
tar a directory with ant (precision)
Posted by Yves Leung-Tack <yv...@laposte.net>.
A precision (in CAPITAL LETTER) to the description I brought in the
last post
RED cannot go throught the list !
>> Hi,
>>
>> I'm using the tar task of ant but I come with a "problem" when
>> untaring the tared files.
>> I can make it work but not exaclty the way I want.
>> After taring directory basedir, see above, I untar it but I want to
>> keep the tar program to untar in
>> the directory basedir.
>>
>> For example:
>> basedir
>> file1
>> file2
>> subdir1
>> subsubdir1
>> subsubdir2
>>
>> Now when I untar the files tared by ant, it extract it to the current
>> directory . *I WANT IT TO CREATE THE BASEDIR DIRECTORY AND THEN PUT
>> THE FILES IN*
>> Is there a way to tell ant's tar to remember the basedir WHEN IT TAR
>> THE DIRECTORY?
>>
>> Thanks
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org