From: Jim Weirich Date: 2008-09-10T20:59:46+09:00 Subject: Re: Drake: Distributed Rake 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). BTW, good job James. -- Posted via http://www.ruby-forum.com/.