     end)
   end
 
+  # Generates RELEASES
   defp create_RELEASES(output_dir, relfile) do
     Logger.debug "Generating RELEASES"
     old_cwd = File.cwd!

    get_added_relup_code_paths(apps, output_dir, [v2_path_consolidated, v2_path|paths])
  end

  defp generate_nodetool!(bin_dir) do
    Logger.debug "Generating nodetool"
    node_tool_file = Utils.template(:nodetool)

    end
  end

  # Determines if the given application directory is part of the Erlang installation
  defp is_erts_lib?(app_dir) do
    String.starts_with?(app_dir, "#{:code.lib_dir()}")
  end

  # Gets all applications which are part of the release application tree
  defp get_apps(release), do: get_apps(release, true)
  defp get_apps(%Release{name: name, applications: apps}, show_debug?) do
    Application.load(name)
