Z
zyng
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.
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.