You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Bob Lee <cr...@crazybob.org> on 2011/05/28 00:29:02 UTC

How can I read artifacts straight from the cache?

I have the list of IvyNodes returned by resolve().

Thanks,
Bob

Re: How can I read artifacts straight from the cache?

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Le 28 mai 2011 à 00:29, Bob Lee a écrit :

> I have the list of IvyNodes returned by resolve().

Not sure what you are meaning by "read", but after a resolve you can get a resolvereport in which you will have the references of every resolved artifact. And on each artifact you can get the file reference in the cache. See the code of IvyCacheTask for an example.

Nicolas