ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcarthum <mcart...@gmail.com>
Subject Re: Forcing ivy to re-check ivy.xml before resolution
Date Thu, 19 Jun 2008 20:41:37 GMT

What was your solution?  I am having the same problem -- I removed a
dependency, but ivy is still trying to find it.


heavydawson wrote:
> 
> The problem was my fault, not Ivy's. Thanks for the assistance though.
> 
> On Wed, Jun 18, 2008 at 5:24 PM, Jim White <jim@pagesmiths.com> wrote:
> 
>> Dave wrote:
>>
>>  I've tried deleting all references to the module I'm trying to resolve
>> but
>>> it continues to look for the old value. :-(
>>> The ivy.xml must be cached somewhere else I don't know about.
>>>
>>
>> I seriously doubt that, assuming you're using an Ivy 2 beta.  If you're
>> using a stable release of Ivy (currently 1.4.1) then the problem is that
>> the
>> cache is at "${user.home}/.ivy".
>>
>> If it isn't the cache, then either you've still got ivy.xml bugs lurking,
>> or of course, there is always the possibility of an Ivy bug (which in
>> this
>> situation seems the much less likely scenario).
>>
>> Jim
>>
>>
>>  On Wed, Jun 18, 2008 at 4:32 PM, Jim White <jim@pagesmiths.com> wrote:
>>>
>>>
>>>  I don't know any of the details involved with what's happened with what
>>>> you
>>>> describe, but it sounds to me like clearing the Ivy cache may fix it.
>>>>
>>>> It is located at "${user.home}/.ivy2" and if you've got a bunch of
>>>> stuff
>>>> you don't want to lose, you can go in and just delete the subdirectory
>>>> that
>>>> you suspect is incorrect.
>>>>
>>>> A "flush cache" option that caused any entries involved in resolution
>>>> to
>>>> be
>>>> invalidated would be nice.  That way this sort of problem could be
>>>> (possibly) fixed without wiping out the (possibly large) entire cache.
>>>>
>>>> Jim
>>>>
>>>>
>>>> Dave wrote:
>>>>
>>>> Hey all,
>>>>
>>>>  I had an Ivy file with a bad dependency. The organisation attribute
>>>> was
>>>>> set
>>>>> to an incorrect value. I've now changed that value, but Ivy keeps
>>>>> trying
>>>>> to
>>>>> resolve with the old value.
>>>>> In my Ivy settings file I'm using a chain resolver which contains the
>>>>> following
>>>>> Local -> Shared -> Maven2
>>>>> repositories.
>>>>>
>>>>> All have the checkmodified attribute set to true, including the chain
>>>>> resolver itself.
>>>>> What am I doing wrong. How can I force Ivy to see the new value and
>>>>> resolve
>>>>> it?
>>>>>
>>>>> /Dave
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>
> 
> 
> -- 
> There are 10 types of people in the world.
> Those who understand binary and those who do not.
> 
> 

-- 
View this message in context: http://www.nabble.com/Forcing-ivy-to-re-check-ivy.xml-before-resolution-tp17985220p18017665.html
Sent from the ivy-user mailing list archive at Nabble.com.


Mime
View raw message