2009/5/6 Adam Murdoch <[email protected]> > > > 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. >> >> > The algorithm looks good.
Thanks > > > I'm curious, how we will make this available to tasks? You'd implement a ChangeProcessor that gets notified of what has changed, depending how the task works you can just keep a list of the files / directories that have changed and execute the function of the task on the list or execute the function of the task in the ChangeProcessor methods. Currently the change detection always scans for all files / directories that have changed, this is not always needed so I'll add mulitple old / new state comparison strategies. So you can have only one event if the directory has changed in some way or for every file / directory that has changed. > > > > Adam > > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
