Index: lib/buildr/java/bdd.rb
===================================================================
--- lib/buildr/java/bdd.rb	(revision 820268)
+++ lib/buildr/java/bdd.rb	(working copy)
@@ -267,7 +267,7 @@
         argv.push *<%= tests.inspect %>
         parser.order!(argv)
         $rspec_options = parser.options
-        Buildr::TestFramework::TestResult::Error.guard('<%= runner.file %>') do
+        Buildr::TestFramework::TestResult::Error.guard('<%= runner.result %>') do
           ::Spec::Runner::CommandLine.run($rspec_options)
         end
         exit 0 # let buildr figure the result from the yaml file
