module Buildr::JRebel
Public Instance Methods
jrebel_args()
click to toggle source
# File lib/buildr/core/jrebel.rb, line 33 def jrebel_args rebel_jar ? [ '-noverify', "-javaagent:#{rebel_jar}" ] : [] end
jrebel_home()
click to toggle source
# File lib/buildr/core/jrebel.rb, line 18 def jrebel_home unless @jrebel_home @jrebel_home = ENV['REBEL_HOME'] || ENV['JREBEL'] || ENV['JREBEL_HOME'] end (@jrebel_home && File.exists?(@jrebel_home)) ? @jrebel_home : nil end
jrebel_props(project)
click to toggle source
# File lib/buildr/core/jrebel.rb, line 37 def jrebel_props(project) {} end
rebel_jar()
click to toggle source
# File lib/buildr/core/jrebel.rb, line 26 def rebel_jar if jrebel_home # jrebel_home may point to jrebel.jar directly File.directory?(jrebel_home) ? File.join(jrebel_home, 'jrebel.jar') : jrebel_home end end