anchor.diff:  %% @end
   %%--------------------------------------------------------------------
   get_release_dirs(BuildRef, ProjectName, BuildDir, ProjectDir) ->
  -    Name = case sin_build_config:get_value(BuildRef, "project.name") of
  -               undefined ->
  -                   eta_event:task_fault(BuildRef, ?TASK,
  -                                        "No project name defined in build config "
  -                                        "aborting!"),
  -                   throw(no_project_name);
  -               Nm ->
  -                   Nm
  -           end,
  +    Name = get_project_name(BuildRef),
       SourceReleases = filename:join([BuildDir, "releases", ProjectName]),
       TargetReleases = filename:join([ProjectName, "releases", ProjectName]),
       Result =
  -        case sin_build_config:get_value(BuildRef, "tasks.dist.include_release_info") of
  +        case sin_build_config:get_value(BuildRef,
  +					"tasks.dist.include_release_info") of
               Value when Value == true; Value == undefined ->
                   [{filename:join([SourceReleases,
                                    lists:flatten([Name, ".boot"])]),
  
positive.code:     Prefix = code:root_dir(),
      ErtsVersion = erlang:system_info(version),
      ErtsToInclude = filename:join([Prefix, "erts-" ++ ErtsVersion]),
      case sin_utils:to_bool(sin_build_config:get_value(BuildRef, "tasks.dist.include_erts")) of
  	true ->
  	    [{ErtsToInclude, filename:join([TopLevel, "erts-" ++ ErtsVersion])}];
  	_ ->
  	    []
      end.
  
negative.code: %%--------------------------------------------------------------------
  %% @doc
  %%  Go through and actually build up the tar file.
  %% @spec make_tar(BuildRef, ProjectDir,
  %%   ProjectApps, ProjectRepoApps, Repo) -> ok
  %% @end
  %%--------------------------------------------------------------------
  make_tar(BuildRef, ProjectDir, ProjectApps, ProjectRepoApps, Repo) ->
      BuildDir = sin_build_config:get_value(BuildRef, "build.dir"),
      TarDir = filename:join([BuildDir, "tar"]),
      filelib:ensure_dir(filename:join([TarDir, "tmp"])),
      ProjectName = get_project_release_name(BuildRef),
      ReleaseName =
  	case sin_build_config:get_value(BuildRef, "-r") of
  	    undefined ->
  		ProjectName;
  	    R ->
  		R ++ "-" ++
  		    sin_build_config:get_value(BuildRef,
  					       "releases." ++ R ++ ".vsn")
  	end,
      LibDir = filename:join([ProjectName, "lib"]),
      AppDir = filename:join([BuildDir, "apps"]),
      List1 = gather_dirs(LibDir, Repo, ProjectRepoApps, []),
  