Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27381
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2014-01-21 15:35 -0800 |
| Message-ID | <bb837d1c-b263-47ee-9145-10d3559d1e33@googlegroups.com> (permalink) |
| Subject | symbolic links cannot be preserved by ant tar |
| From | zyng <xsli2@yahoo.com> |
Hi: I just found that when using the ant task "tar" to create a tar file, the links can not be preserved -- this is different from GNU tar feature. In another words, if the directory to be tarred containing: libfoo.so --> libfoo.so.0 libfoo.so.0 --> libfoo.so.0.4 libfoo.so.0.4 (very common scenario in shared object library files in *nix OS) By default(followsymlinks is true), when I tarred and untarred the created tar file, there will be 3 identical files with different names: libfoo.so libfoo.so.0 libfoo.so.0.4 This is considered a bug by Ant developers: https://issues.apache.org/bugzilla/show_bug.cgi?id=15244 https://issues.apache.org/bugzilla/show_bug.cgi?id=14320 I am wondering if there is a solution now, or I have to live with it. Thank you very much.
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
symbolic links cannot be preserved by ant tar zyng <xsli2@yahoo.com> - 2014-01-21 15:35 -0800 Re: symbolic links cannot be preserved by ant tar Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2014-02-03 14:56 +0000
csiph-web