On Wed, Mar 12, 2008 at 6:52 PM, Brown, Carlton <[EMAIL PROTECTED]> wrote: > > > -----Original Message----- > > From: Buck, Robert [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, March 12, 2008 1:31 PM > > To: [email protected] > > Subject: Can Caches Be Associated with Specific Resolvers? > > > > Hi, > > > > I was looking over the details of IVY 2 Beta 2 the other day > > and I had one question. > > > > It looks like one can set up caches that have affinity to > > particular types of files, or patterns. On the other hand, > > can one define a specific cache per resolver regardless of > > pattern (this would seem to be the other dimension people > > would consider) ? > > The documentation of <resolver> doesn't say anything about a 'cache' > attribute. But it seems there is a set method for 'cache' on resolver, > also I notice the documentation of <cache> says this: > "The default cache instance will still be defined as long as at least > one dependency resolver does not declare which cache manager to use." > > In my testing, the attribute didn't have any effect, but maybe it's > still a work in progress. Despite the bad documentation, the cache attribute should work on all resolvers. We even have a unit test for that. Could you detail what you tested and what happened?
Xavier > > > > ----------------------------------------- > ==================================================== > This message contains PRIVILEGED and CONFIDENTIAL > information that is intended only for use by the > named recipient. If you are not the named recipient, > any disclosure, dissemination, or action based on > the contents of this message is prohibited. In such > case please notify us and destroy and delete all > copies of this transmission. Thank you. > ==================================================== > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/
