From: Trans Date: 2008-09-10T21:37:49+09:00 Subject: Re: Drake: Distributed Rake On Sep 10, 7:59 am, Jim Weirich wrote: > James M. Lawrence wrote: > > In a given Rakefile, it is possible (even likely) that the dependency > > tree has not been properly defined.  Consider > > >    task :a => [:x, :y, :z] > > > With single-threaded Rake, _x_,_y_,_z_ will be invoked *in that order* > > before _a_ is invoked.   > > Just to clarify:  In standard rake x, y and z will be invoked by task a > in that order.  However, that doesn't provide any guarantees that they > will be executed in that order. > > For example, consider the following additional dependencies: > > task :x => :z > > Then the code for z will be executed before task x. > > The moral of the story is that depending upon ordering of dependencies > to determine the ordering of execution is a bug in standard rake too. > (its just more likely that the drake will make this kind of bug > manifest). Ah, so by design you consider it a bug. You could have fixed that from day one by randomizing the order of the prerequisites. Now you have a situation where many Rakefiles depend on that bug. So, why not turn lemons into lemonade, and make this bug a feature? T.