[
https://issues.apache.org/jira/browse/COMPRESS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Bodewig resolved COMPRESS-201.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5
added new constructor with svn revision 1427488
> No constructor to create a TarArchiveEntry link with leading slash
> ------------------------------------------------------------------
>
> Key: COMPRESS-201
> URL: https://issues.apache.org/jira/browse/COMPRESS-201
> Project: Commons Compress
> Issue Type: Bug
> Components: Compressors
> Affects Versions: 1.4.1
> Reporter: Thomas Mortagne
> Priority: Minor
> Labels: link, tar
> Fix For: 1.5
>
>
> I want to create a link with a leading slash and put it in a tar archive
> (Debian package).
> The following constructors are provided
> {code}
> public TarArchiveEntry(String name, boolean preserveLeadingSlashes)
> public TarArchiveEntry(String name, byte linkFlag)
> {code}
> but there is no
> {code}
> public TarArchiveEntry(String name, byte linkFlag, boolean
> preserveLeadingSlashes)
> {code}
> so I have to overwrite the name using setName(String) which is not very clean.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira