2009/5/6 Hans Dockter <[email protected]> > Hi Tom. > > > On May 5, 2009, at 11:55 PM, Tom Eyckmans wrote: > > Hi all, >> >> I've put up a wiki page about the change detection: >> >> http://docs.codehaus.org/display/GRADLE/Change+Detection >> >> describing the algorithm and the current reflection I have. >> > > I think that the current algorithm is an excellent trade-off between > reliability and performance.
Thanks. > Yet it probably won't do its job in some scenarios (e.g. a svn checkout > where only one letter was changed and the timestamp not modified). Therefore > I think we should optionally provide an algorithm that hashes the content. That is something that is foreseen in the code but I forgot to put it on the wiki page. The logic to hash is separated into a utility class (DigesterUtil) that delegates to a meta (path + last modified + size) implementation or metacontent that extends the meta implementation and also hashes the content of the file. I'll add this to the wiki page. > > > - Hans > > -- > Hans Dockter > Gradle Project lead > http://www.gradle.org > > > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
