buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject svn commit: r1151086 - /buildr/trunk/Rakefile
Date Tue, 26 Jul 2011 13:22:22 GMT
Author: donaldp
Date: Tue Jul 26 13:22:21 2011
New Revision: 1151086

URL: http://svn.apache.org/viewvc?rev=1151086&view=rev
Log:
Fix the way that JAVA_HOME is guessed on jruby platform

Modified:
    buildr/trunk/Rakefile

Modified: buildr/trunk/Rakefile
URL: http://svn.apache.org/viewvc/buildr/trunk/Rakefile?rev=1151086&r1=1151085&r2=1151086&view=diff
==============================================================================
--- buildr/trunk/Rakefile (original)
+++ buildr/trunk/Rakefile Tue Jul 26 13:22:21 2011
@@ -16,7 +16,7 @@
 # We need JAVA_HOME for most things (setup, spec, etc).
 unless ENV['JAVA_HOME']
   if RUBY_PLATFORM[/java/]
-    ENV['JAVA_HOME'] = java.lang.System.getProperty('java.home')
+    ENV['JAVA_HOME'] = Java.java.lang.System.getProperty('java.home')
   elsif RUBY_PLATFORM[/darwin/]
     ENV['JAVA_HOME'] = '/System/Library/Frameworks/JavaVM.framework/Home'
   else



Mime
View raw message