lib/liberty_buildpack/container/liberty.rb
# Creates the command to run the Liberty application.
#
# @return [String] the command to run the application.
Creates the command to run the Liberty application.
Creates the command to run the Liberty application .
def release
      server_dir = ' .liberty/usr/servers/' << server_name << '/'
      runtime_vars_file =  server_dir + 'runtime-vars.xml'
      create_vars_string = File.join(LIBERTY_HOME, 'create_vars.rb') << runtime_vars_file << ' &&'
      java_home_string = ContainerUtils.space("JAVA_HOME=\"$PWD/#{@java_home}\"")
      start_script_string = ContainerUtils.space(File.join(LIBERTY_HOME, 'bin', 'server'))
      start_script_string << ContainerUtils.space('run')
      jvm_options
      server_name_string = ContainerUtils.space(server_name)
      "#{create_vars_string}#{java_home_string}#{start_script_string}#{server_name_string}"
    end
def release server_dir = ' .liberty/usr/servers/' << server_name << '/' runtime_vars_file = server_dir + 'runtime-vars.xml' create_vars_string = File . join ( LIBERTY_HOME , 'create_vars.rb' ) << runtime_vars_file << ' &&' java_home_string = ContainerUtils . space ( "JAVA_HOME=\"$PWD/#{@java_home}\"" ) start_script_string = ContainerUtils . space ( File . join ( LIBERTY_HOME , 'bin' , 'server' ) ) start_script_string << ContainerUtils . space ( 'run' ) jvm_options server_name_string = ContainerUtils . space ( server_name ) "#{create_vars_string}#{java_home_string}#{start_script_string}#{server_name_string}" end
Creates the command to run the Liberty application.
Creates the command to run the Liberty application .
the command to run the application.
the command to run the application .
String