ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Trump (JIRA)" <>
Subject [jira] Created: (IVY-1163) add ability to programmatically change default resolver
Date Sat, 23 Jan 2010 22:51:17 GMT
add ability to programmatically change default resolver

                 Key: IVY-1163
             Project: Ivy
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.1.0
            Reporter: Jason Trump
            Priority: Minor

I would like the ability to change the default resolver programmatically.  For example, from
an Ant task.  The API exists for this (IvySettings.setDefaultResolver), but it does not work
reliably.  The fix looks pretty easy.

When you call IvySettings.setDefaultResolver, it changes the value of "defaultResolverName",
of type String.  However, it doesn't change the cache variable "defaultResolver".  So if you've
called IvySettings.getDefaultResolver once, it will always return the original value, even
if you later try to change it with setDefaultResolver.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message