Author: djspiewak
Date: Sun Oct 25 01:58:49 2009
New Revision: 829479
URL: http://svn.apache.org/viewvc?rev=829479&view=rev
Log:
Adjusted auto-magical support for JRebel rename
Modified:
buildr/trunk/lib/buildr/shell.rb
Modified: buildr/trunk/lib/buildr/shell.rb
URL:
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/shell.rb?rev=829479&r1=829478&r2=829479&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/shell.rb (original)
+++ buildr/trunk/lib/buildr/shell.rb Sun Oct 25 01:58:49 2009
@@ -77,10 +77,10 @@
module JavaRebel
def rebel_home
unless @rebel_home
- @rebel_home = ENV['REBEL_HOME'] or ENV['JAVA_REBEL'] or
ENV['JAVAREBEL'] or ENV['JAVAREBEL_HOME']
+ @rebel_home = ENV['REBEL_HOME'] or ENV['JREBEL'] or
ENV['JREBEL_HOME']
if @rebel_home and File.directory? @rebel_home
- @rebel_home += File::SEPARATOR + 'javarebel.jar'
+ @rebel_home += File::SEPARATOR + 'jrebel.jar'
end
end