[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Forcing Tycho to check checksum with updated artifacts.jar

There is no such feature in Tycho and will most likely never be added since it goes against the fundamental rule of artifact immutability.


On Mon, May 14, 2012 at 6:37 PM, Ramy Siha <ramysiha@xxxxxxxxx> wrote:
Hello All,
   I'm pretty new at Tycho and I have been facing this problem where we have a local p2 repository at our company that gets updated regularly by other teams, unfortunately the plugins version does not get changed ( it's wrong I know ) so of course Tycho does not detect any changes and does not update the plugins assuming that they are the same, given that the files modification dates has changed on the repository. 

What I have noticed also is that the Tycho does detect that the modification date of the artifacts.jar file got changed and it downloads it. The artificats.jar file contains different checksum for the plugins ( since the plugins content has changed of course ), so my question is there is a way to force Tycho to recompute the hashes and re-downloaded the plugins if they are different ? 

If there is no such feature, is it an easy fix I can try to implement ?

Best Regards,
   Ramy Siha

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user




--
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user