buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djspie...@apache.org
Subject svn commit: r930747 - /buildr/trunk/lib/buildr/scala/compiler.rb
Date Sun, 04 Apr 2010 21:04:38 GMT
Author: djspiewak
Date: Sun Apr  4 21:04:37 2010
New Revision: 930747

URL: http://svn.apache.org/viewvc?rev=930747&view=rev
Log:
Avoid (possibly) premature Java.load

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

Modified: buildr/trunk/lib/buildr/scala/compiler.rb
URL: http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala/compiler.rb?rev=930747&r1=930746&r2=930747&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala/compiler.rb (original)
+++ buildr/trunk/lib/buildr/scala/compiler.rb Sun Apr  4 21:04:37 2010
@@ -27,7 +27,6 @@ module Buildr::Scala
     # standard library or nil if Scala is not available.
     def version_str
       begin
-        Java.load
         # Scala version string normally looks like "version 2.7.3.final"
         Java.scala.util.Properties.versionString.sub 'version ', ''
       rescue



Mime
View raw message