Author: lacton
Date: Sat Aug 23 15:10:49 2008
New Revision: 688422
URL: http://svn.apache.org/viewvc?rev=688422&view=rev
Log:
Removed redundant file task definition
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=688422&r1=688421&r2=688422&view=diff
==============================================================================
--- incubator/buildr/trunk/addon/buildr/cobertura.rb (original)
+++ incubator/buildr/trunk/addon/buildr/cobertura.rb Sat Aug 23 15:10:49 2008
@@ -127,7 +127,7 @@
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.
- instrumented = project.file(cobertura.instrumented_dir =>
file(project.compile.target)) do |task|
+ instrumented = project.file(cobertura.instrumented_dir =>
project.compile.target) do |task|
mkdir_p task.to_s, :verbose => false
unless project.compile.sources.empty?
info "Instrumenting classes with cobertura data file
#{cobertura.data_file}"
Modified: incubator/buildr/trunk/addon/buildr/emma.rb
URL:
http://svn.apache.org/viewvc/incubator/buildr/trunk/addon/buildr/emma.rb?rev=688422&r1=688421&r2=688422&view=diff
==============================================================================
--- incubator/buildr/trunk/addon/buildr/emma.rb (original)
+++ incubator/buildr/trunk/addon/buildr/emma.rb Sat Aug 23 15:10:49 2008
@@ -136,7 +136,7 @@
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.
- instrumented = project.file(emma.instrumented_dir =>
file(project.compile.target)) do |task|
+ 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}"
Emma.ant do |ant|