ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Birkoff <maxbirk...@yahoo.com>
Subject Re: support for symlinks
Date Wed, 27 Oct 2010 17:17:25 GMT
Thanks for the Reply Stefan.

I hadn't checked bugzilla; thanks for letting me know. There I see:
  https://issues.apache.org/bugzilla/show_bug.cgi?id=19252
and:
  https://issues.apache.org/bugzilla/show_bug.cgi?id=15244
as well as other bugs referenced from those.

I must admit to being a little confused by your suggestion. On one hand you seem to say "go
to another project" and on the other hand, ant's code base contains the tar code that I have
been using and would like to improve. Do you plan to remove org.apache.tools.tar from your
code base? Is supporting symlinks in a tar file just unimportant to ant?

Thanks much in advance,

b

--- On Wed, 10/27/10, Stefan Bodewig <bodewig@apache.org> wrote:

> From: Stefan Bodewig <bodewig@apache.org>
> Subject: Re: support for symlinks
> To: dev@ant.apache.org
> Date: Wednesday, October 27, 2010, 12:19 AM
> On 2010-10-27, Max Birkoff wrote:
> 
> > I would like to add support for symlinks to:
> >   org.apache.tools.tar.TarEntry and
> friends.
> 
> I'd recommend you'd put that effort into the tar classes in
> Apache
> Commons Compress <http://commons.apache.org/compress/> instead. 
> The tar
> and zip classes of Ant are really only a subset of the
> compress classes
> and I'd expect Ant's "copy" of the classes will only get
> the parts
> merged that are useful to the existing Ant tasks.
> 
> Personally I would prefer enhancing the compress Antlib
> <http://ant.apache.org/antlibs/compress/index.html>
> rather than the core
> tasks as well - the core tasks carry to much baggage of
> backwards
> compatibility ti keep IMHO.
> 
> > I have examined the archives at:
> >   http://news.gmane.org/gmane.comp.jakarta.ant.devel/
> > and cannot see the matter discussed there.
> 
> There is at least one bugzilla issue raised for it.
> 
> > Before sending patches, I would like to determine if
> there is a reason
> > that this has not been supported in the TarEntry
> class;
> 
> Those who have been working on the code didn't need symlink
> support and
> those who needed it never provided patches 8-)
> 
> > it appears that the proper constants are present in
> TarConstants and I
> > can get at the linkflag through the writeEntryHeader
> method.
> 
> It is true that it doesn't seem to be too difficult.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message