You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by la...@apache.org on 2008/09/28 23:36:32 UTC
svn commit: r699901 - in /incubator/buildr/trunk/addon/buildr: cobertura.rb
emma.rb
Author: lacton
Date: Sun Sep 28 14:36:32 2008
New Revision: 699901
URL: http://svn.apache.org/viewvc?rev=699901&view=rev
Log:
Moved comments to where they belong
Modified:
incubator/buildr/trunk/addon/buildr/cobertura.rb
incubator/buildr/trunk/addon/buildr/emma.rb
Modified: incubator/buildr/trunk/addon/buildr/cobertura.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/addon/buildr/cobertura.rb?rev=699901&r1=699900&r2=699901&view=diff
==============================================================================
--- incubator/buildr/trunk/addon/buildr/cobertura.rb (original)
+++ incubator/buildr/trunk/addon/buildr/cobertura.rb Sun Sep 28 14:36:32 2008
@@ -125,9 +125,9 @@
cobertura = project.cobertura
namespace 'cobertura' do
- # Instrumented bytecode goes in a different directory. This task creates before running the test
- # cases and monitors for changes in the generate bytecode.
unless project.compile.target.nil?
+ # Instrumented bytecode goes in a different directory. This task creates before running the test
+ # cases and monitors for changes in the generate bytecode.
instrumented = project.file(cobertura.instrumented_dir => project.compile.target) do |task|
mkdir_p task.to_s, :verbose => false
unless project.compile.sources.empty?
Modified: incubator/buildr/trunk/addon/buildr/emma.rb
URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/addon/buildr/emma.rb?rev=699901&r1=699900&r2=699901&view=diff
==============================================================================
--- incubator/buildr/trunk/addon/buildr/emma.rb (original)
+++ incubator/buildr/trunk/addon/buildr/emma.rb Sun Sep 28 14:36:32 2008
@@ -134,9 +134,9 @@
emma = project.emma
namespace 'emma' do
- # Instrumented bytecode goes in a different directory. This task creates before running the test
- # cases and monitors for changes in the generate bytecode.
unless project.compile.target.nil?
+ # Instrumented bytecode goes in a different directory. This task creates before running the test
+ # cases and monitors for changes in the generate bytecode.
instrumented = project.file(emma.instrumented_dir => project.compile.target) do |task|
unless project.compile.sources.empty?
info "Instrumenting classes with emma metadata file #{emma.metadata_file}"