ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant+Ivy BOF at ApacheCon tonight
Date Fri, 04 May 2007 08:54:05 GMT
On Fri, 04 May 2007, Steve Loughran <stevel@apache.org> wrote:

> Actually, during the day I've been starting to factor out file
> access From FileResource.

+1

> Having looked at the tasks, I am not going to do any major reworks
> without talking to Stefan (who is chairing the maven talk, I am in
> the tomcat 6 talk right now).

Go take a look at the dev-list archives.  There has been some
discussion between Matt any me on that a few weeks (months?) ago.

> But other tasks (Tar) seem to contain their own basedir resolution:

Yes, this is unfortunate.  The usual "historical accident" thing.

> or this stuff in Copy

I'm sure you've seen the comments at the top of that method.  It has
been pretty hard to enable resource support while maintaining API
compatibility since Copy explicitly was designed to be inherited from.

> I think we may need to pull a lof of this check for null and make
> basedir-relative  resolution something inside the FileProvider
> implementations.

Not sure.  I think we may want to have resolution of relative paths
somewhere in Resource or ResourceUtils.  It should work for any kind
of Resource so that we can resolve relative URLs as well.

Stefan

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


Mime
View raw message