ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Resource.getURL()
Date Tue, 26 Sep 2006 03:26:15 GMT
On Tue, 26 Sep 2006, Stephen McConnell <> wrote:
>> From: Matt Benson [] 

>> Path's inheritance hierarchy was altered such that its immediate
>> superclass is the new Union resource collection.  So the only
>> difference between the two is, for all practical purposes, the
>> filesystem-only restriction.
> Meaning that tasks such as javac (and others) that take classpath
> definitions as Path arguments could be changed to take a Union as an
> argument?

If you look through Ant 1.7.0 you will see that most tasks that
supported <filesets> or <paths> or ... now support arbitrary resource
collections.  Tasks that supported nested <path> elements in Ant 1.6.5
now automatically support nested resources as child elements of that

In the case of <javac> the compiler itself doesn't deal with anything
but file resources, so the tasks must ensure only Fileresources are
added - and <path> guarantees just that.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message