You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by dj...@apache.org on 2010/04/04 23:04:38 UTC

svn commit: r930747 - /buildr/trunk/lib/buildr/scala/compiler.rb

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