buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From boisv...@apache.org
Subject svn commit: r1004000 - /buildr/trunk/lib/buildr/scala/tests.rb
Date Sun, 03 Oct 2010 16:55:31 GMT
Author: boisvert
Date: Sun Oct  3 16:55:31 2010
New Revision: 1004000

URL: http://svn.apache.org/viewvc?rev=1004000&view=rev
Log:
Add comment re: ScalaTestAntTask

Modified:
    buildr/trunk/lib/buildr/scala/tests.rb

Modified: buildr/trunk/lib/buildr/scala/tests.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala/tests.rb?rev=1004000&r1=1003999&r2=1004000&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala/tests.rb (original)
+++ buildr/trunk/lib/buildr/scala/tests.rb Sun Oct  3 16:55:31 2010
@@ -112,6 +112,7 @@ module Buildr::Scala
         reportFile = File.join(reportDir, "TEST-#{suite}.txt")
         taskdef = Buildr.artifacts(self.class.dependencies).each(&:invoke).map(&:to_s)
         Buildr.ant('scalatest') do |ant|
+          # ScalaTestTask was deprecated in 1.2, in favor of ScalaTestAntTask
           classname = (ScalaTest.version =~ /1\.[01]/) ? \
             'org.scalatest.tools.ScalaTestTask' : 'org.scalatest.tools.ScalaTestAntTask'
           ant.taskdef :name=>'scalatest', :classname=>'org.scalatest.tools.ScalaTestTask',



Mime
View raw message