lib/liberty_buildpack/framework/jrebel_agent.rb
def release
      app_dir = @common_paths.relative_location

      jr_home = File.join(app_dir, JR_HOME_DIR)
      jr_native_agent = File.join(jr_home, LIBJREBEL_SO)

      jr_log = File.join(@common_paths.log_directory, 'jrebel.log')

      @java_opts << "-agentpath:#{jr_native_agent}"
      @java_opts << '-Drebel.remoting_plugin=true'
      @java_opts << '-Drebel.log=true'
      @java_opts << "-Drebel.log.file=#{jr_log}"
      @java_opts << '-Drebel.cloud.platform=cloudfoundry/ibm-websphere-liberty-buildpack'

      unless openjdk?
        @java_opts << '-Drebel.redefine_class=false'
        @java_opts << '-Xshareclasses:none'
      end
    end
#-----------------------------------------------------------------------------------------
# Create the JRebel agent options appended as java_opts.
#------------------------------------------------------------------------------------------
Create the JRebel agent options appended as java_opts.
Create the JRebel agent options appended as java_opts .
def release
      app_dir = @common_paths.relative_location
      jr_home = File.join(app_dir, JR_HOME_DIR)
      jr_native_agent = File.join(jr_home, LIBJREBEL_SO)
      jr_log = File.join(@common_paths.log_directory, 'jrebel.log')
      @java_opts << "-agentpath:#{jr_native_agent}"
      @java_opts << '-Drebel.remoting_plugin=true'
      @java_opts << '-Drebel.log=true'
      @java_opts << "-Drebel.log.file=#{jr_log}"
      @java_opts << '-Drebel.cloud.platform=cloudfoundry/ibm-websphere-liberty-buildpack'
      unless openjdk?
        @java_opts << '-Drebel.redefine_class=false'
        @java_opts << '-Xshareclasses:none'
      end
    end
def release app_dir = @common_paths . relative_location jr_home = File . join ( app_dir , JR_HOME_DIR ) jr_native_agent = File . join ( jr_home , LIBJREBEL_SO ) jr_log = File . join ( @common_paths . log_directory , 'jrebel.log' ) @java_opts << "-agentpath:#{jr_native_agent}" @java_opts << '-Drebel.remoting_plugin=true' @java_opts << '-Drebel.log=true' @java_opts << "-Drebel.log.file=#{jr_log}" @java_opts << '-Drebel.cloud.platform=cloudfoundry/ibm-websphere-liberty-buildpack' unless openjdk? @java_opts << '-Drebel.redefine_class=false' @java_opts << '-Xshareclasses:none' end end
Create the JRebel agent options appended as java_opts.
Create the JRebel agent options appended as java_opts .