Xavier Hanin wrote:
On 9/19/07, Steve Loughran <[EMAIL PROTECTED]> wrote:

I've just checked in a FileProvider interface for resources, and have
(uncommitted) changes to a lot of the resource enabled tasks to use
FileProviders instead of requiring file system resources to be instances
of FileResource. What that could do is let
Ivy add a new resource that refers to an an artifact, which could then
be used inline

<copy todir="build/app/WEB-INF/lib" >
        <ivy:artifact org="org.apache.tomcat" artifact="tomcat"
version="${tomcat.version}" />
</copy>

We could even have an ivy:artifacts collection, that dynamically
represents a specific configuration from the ivy conf

<copy todir="build/app/WEB-INF/lib" >
        <ivy:artifacts conf="webapp" />
</copy>


Would this require to call resolve before? Or would it be roughly equivalent
to what a resolve do?


up to you :)


--
Steve Loughran                  http://www.1060.org/blogxter/publish/5
Author: Ant in Action           http://antbook.org/

Reply via email to