From: Simon Krahnke Date: 2008-04-22T23:05:07+09:00 Subject: Re: Rake: race condition between task prerequisites * Tobie Langel (14:58) schrieb: > I'm having a strange race condition between task prerequisites in the > following rakefile: > > http://github.com/tobie/prototype/tree/master/Rakefile#L49 > > At line #49, the :test rake tasks has the following prerequisites: > :build_tests, :dist and :test_units. > > :build_tests is correctly executed, as the files are generated, but > :test_units doesn't wait for the files to be generated before running. If :test_units needs the result of :build_tests, the latter should be a prerequisite of the first. mfg, simon .... l