From: Jim Weirich Date: 2008-09-10T21:24:20+09:00 Subject: Re: Drake: Distributed Rake Thomas Sawyer wrote: > On Sep 9, 1:54�pm, Trans wrote: >> > before _a_ is invoked. �However with drake --threads=N (for N > 1), >> > � �task :a => :z >> >> >> Run in parrallel. >> >> That way all old script work fine, and as we get smart and make our >> tasks j-safe we can add the extra "j-array". > > I thought someone else might notice it and elaborate but there is > another potential benefit of this notation. Eg. > > task :a => [[:x, :y, :z], [:m, :n], :r] > > Where :x, :y, :z can be run in parallel, as can :m and :n, but the > groups must run one before the other. As stated before, assuming execution order amoung dependencies is a bug even in standard rake. If groups of tasks need to be ordered in time, declare a dependency. Anything else is just wrong. -- Jim Weirich -- Posted via http://www.ruby-forum.com/.