On my Mac, tar
defaults to BSD tar.
$ tar --version
bsdtar 2.8.3 - libarchive 2.8.3
There is a GNU tar that I can invoke with gnutar
.
$ gnutar --version
tar (GNU tar) 1.17
Copyright (C) 2007 Free Software Foundation, Inc.
...
With Ant Tar task, how do I configure it to use the GNU tar?