lib/liberty_buildpack/container/liberty.rb
# Copies the template server xml into the server directory structure and prepares it
Copies the template server xml into the server directory structure and prepares it
Copies the template server xml into the server directory structure and prepares it
def create_server_xml
      server_xml = File.join(default_server_path, SERVER_XML)
      FileUtils.mkdir_p(default_server_path)
      resources = File.expand_path(RESOURCES, File.dirname(__FILE__))
      FileUtils.cp(File.join(resources, SERVER_XML), server_xml)
      server_xml
    end
def create_server_xml server_xml = File . join ( default_server_path , SERVER_XML ) FileUtils . mkdir_p ( default_server_path ) resources = File . expand_path ( RESOURCES , File . dirname ( __FILE__ ) ) FileUtils . cp ( File . join ( resources , SERVER_XML ) , server_xml ) server_xml end
Copies the template server xml into the server directory structure and prepares it
Copies the template server xml into the server directory structure and prepares it