On Thu, Feb 14, 2008 at 9:40 AM, Adrian Sandor <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 11, 2008 at 4:20 PM, Xavier Hanin wrote: > > > > So, if I understand correctly, right now settings/defaultCache is the > > > default for both resolution and repository cache; > > > settings/resolutionCacheDir overrides it for resolution, > caches/basedir > > > overrides it for repository, and cache/basedir overrides > caches/basedir > > > (for repository). > > > > Exactly, and I agree this is confusing :-) > > > > > Perhaps we can move settings/resolutionCacheDir to > > > caches/resolutionCacheDir, rename caches/basedir to > > > caches/repositoryCacheDir, and either remove settings/defaultCache or > > move > > > it to caches/defaultCacheDir. > > > > It makes sense. For defaultCache, I think we need to keep and rename it, > > for > > Ivy 1.x users who where used to it (and it eases the way to define where > > all > > Ivy cache data goes, which is the most common use case. > > > > Do anybody else see any problem with these changes? > > > > Obviously, I agree with the changes (and generally moving cache-related > attributes out of the settings element). > Nobody else seems to have any comments so far. Do you think we can see > these > changes soon? I think we can agree to move on, it's not that a big change anyway. > Would you like me to work on it? Or add a comment to IVY-399? I think we have a little less than a week before we cut the beta2. If you can do the job (code, reference doc and junit changes) in this timeframe, it's more than welcome! Otherwise a comment on IVY-399 summing up the changes would help, and I'll try to find some time to do the change, probably early next week during my next trip to visit a customer. Xavier > > Adrian > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/