Hello Kumar, Deleting the cache every time was the simplest workaround for me. But I do not delete the entire cache, only the directory that contains the artifacts that might change. In my case this is just the com.bosch directory. With all other artifacts I do not have a problem so I can keep them.
Mit freundlichen Grüßen / Best regards Thomas Laun Robert Bosch GmbH Telemedicine Platform (CI/TMP) Postfach 11 27 71301 Waiblingen GERMANY www.bosch.com Tel. +49 (711) 811-3607689 PC-Fax +49 (711) 811-51849753 [email protected] Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000; Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, Siegfried Dais; Bernd Bohr, Rudolf Colm, Volkmar Denner, Gerhard Kümmel, Wolfgang Malchow, Peter Marks, Peter Tyroller; Uwe Raschke -----Ursprüngliche Nachricht----- Von: malepati [mailto:[email protected]] Gesendet: Thursday, July 23, 2009 2:59 PM An: [email protected] Betreff: Re: AW: retriving old dependencies instead of latest Hello Mr.Laun, You are exactly right, I just deleted the files and folders in C:\Documents and Settings\username\.ivy2\cache folder. Problem solved. But do we need to delete this cache every time? Thanks --Kumar Laun Thomas (CI/TMP) wrote: > > Hello Kumar, > > This sounds like a caching problem. Ivy sometimes uses the cache even > though a newer version is available in the repository (IVY-938). To find > out if I'm right, you can delete your local ivy cache and recompile your > module. If all dependencies are resolved corretly now, you know the > problem is indeed cache related. > > Mit freundlichen Grüßen / Best regards > > Thomas Laun > > Robert Bosch GmbH > Telemedicine Platform (CI/TMP) > Postfach 11 27 > 71301 Waiblingen > GERMANY > www.bosch.com > > Tel. +49 (711) 811-3607689 > PC-Fax +49 (711) 811-51849753 > [email protected] > > Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000; > Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz > Fehrenbach, Siegfried Dais; > Bernd Bohr, Rudolf Colm, Volkmar Denner, Gerhard Kümmel, Wolfgang Malchow, > Peter Marks, > Peter Tyroller; Uwe Raschke > > > -----Ursprüngliche Nachricht----- > Von: malepati [mailto:[email protected]] > Gesendet: Wednesday, July 22, 2009 10:57 PM > An: [email protected] > Betreff: retriving old dependencies instead of latest > > > Hi, > I got a very strange error today. > Before i tell the error here is my environment: > 1) Subversion 1.6 > 2) Java JDK 1.6 > 3) ANT 1.7.1 > 4) Ivy > > Error: > 1) I checkout repository from > http://subversion/repositories/module1/trunk/ > to my working copy c:/workincopy/module1 > 2) I run ant command. > 3) the out put i expected is to get all the dependencies from > http://ivy:8090/archiva/repository/dependencies/project1/ and store into > c:/workincopy/module1/build/lib folder and use these dependencies while > compiling and executing build. > 4) As logically all dependencies are downloading to > c:/workincopy/module1/build/lib folder, but unfortunately two dependencies > are downloading the older versions of dependencies. > > I rechecked all the dependencies in > http://ivy:8090/archiva/repository/dependencies/project1/ and all are > latest > one and there are no alternative versions in the dependency repository. > > can some one share their views. > > --Kumar. > > > > > -- > View this message in context: > http://www.nabble.com/retriving-old-dependencies-instead-of-latest-tp24614417p24614417.html > Sent from the ivy-user mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/retriving-old-dependencies-instead-of-latest-tp24614417p24625196.html Sent from the ivy-user mailing list archive at Nabble.com.
