On Mon, 2 Apr 2007, Xavier Hanin <[EMAIL PROTECTED]> wrote: > Thanks, I should have read the task doc carefully, there is a whole > paragraph about this problem :) As far as I understand, it seems > that the default is to warn only, but it's not clear to me if in > this case the tar will be extractable by a non gnu tar.
IIRC standard tar will skip over the files that are longre than 100 characters, so the rest is still extractable, but you certainly end up with an incomplete archive. The bad news is that at least some non-GNU tars won't tell you they had skipped some files. Ant and many other projects include a disclaimer about requiring GNU tar on the download page. I'd suggest to do the same for Ivy as well. > So, should we prefer one of the option preserving standard tar > format (truncate, or omit) meaning that everybody using the tar > version would have problems with the javadoc and test reports, or a > gnu version, meaning that people with non gnu tar version wouldn't > be able to untar our distrib? I'd prefer to use the GNU option and a disclaimer. Most Unix systems at least provide a gtar command in addition to their own version of tar (Solaris and MacOS X do), it is the system tar command on Linux and maybe others. > 100 chars is not so long, do anybody else has ever faced this > question? Everybody 8-) Long paths are pretty common in Java projects but don't happen that often anywhere else. Stefan
