Opened 14 years ago

Closed 13 years ago

#749 closed defect (fixed)

TAR files with long files names are not supported

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: minor Milestone: BASE 2.5.1
Component: coreplugins Version:
Keywords: Cc:

Description

The package for TAR that is used in BASE (http://www.trustice.com/java/tar/) doesn't support long file names (>100 characters). This will result in truncated filenames if the TAR archive is unpacked on the BASE server.

Apache is working on a new package: http://commons.apache.org/sandbox/compress/ It is based on the old code, but has not yet been released. When Apache releases the package it might be a good idea to upgrade BASE to use it. The package also seems to provide support for the BZIP2 format, so we may also replace the current package for BZIP2 with the new package.

Change History (4)

comment:1 Changed 14 years ago by jari

Milestone: BASE 2.x+

We are waiting for apache project to finish their code.

comment:2 Changed 13 years ago by Nicklas Nordborg

A compiled JAR with the commons compress code can be found at: http://mvnrepository.com/artifact/commons-compress/commons-compress

It's not very recent and it seems like development has stalled. In any case, the code builds on the trustice code and is more recent than what we currently use. We may at least try it out.

comment:3 Changed 13 years ago by Nicklas Nordborg

Milestone: BASE 2.x+BASE 2.5.1
Owner: changed from everyone to Nicklas Nordborg
Status: newassigned

It seems like commons-compress is not making any progress at all. I'll fix this with wrappers in the current implementation.

comment:4 Changed 13 years ago by Nicklas Nordborg

Resolution: fixed
Status: assignedclosed

(In [4059]) Fixes #749: TAR files with long files names are not supported

Note: See TracTickets for help on using tickets.