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

Reply via email to