anchor.diff:  %%       Gets all ebin dirs for the apps defined in boss.config
   %% @end
   %%--------------------------------------------------------------------
  +
   all_ebin_dirs(BossConf, _AppFile) ->
       lists:foldl(fun({_App, Config}, EbinDirs) ->
                           case lists:keyfind(path, 1, Config) of
  
positive.code:                                         filelib:ensure_dir(MainEbin1++"/"),
                                          [MainEbin1|all_ebin_dirs2(Path1)];
                                      _ ->
                                          MainEbin2 = filename:join([Path, "/ebin"]),
                                          filelib:ensure_dir(MainEbin2++"/"),
                                          [MainEbin2 | [EbinDirs | all_ebin_dirs1(Path)]] 
                                  end
                                      
                          end 
                  end, 
                  [], 
                  lists:reverse(BossConf)).
  
  %%old function, keep compatibility
  all_ebin_dirs1(Path) ->
      MainEbin = filename:join([Path, "ebin"]),
      filelib:ensure_dir(filename:join([MainEbin, "foobar"])),
      DepsEbins = case os:type() of
                      {win32, _} ->
                          case file:list_dir(filename:join([Path, "deps"])) of
                              {ok, Dirs} -> 
                                  lists:map(fun(Dir) ->
                                                    filename:join([Path, "deps", Dir, "ebin"])
                                            end, Dirs);
                              {error, _Reason} -> []
                          end;
                      _ -> 
                          [filename:join([Path, "deps", "*", "ebin"])]
                  end,
      ElixirEbins = case os:type() of
                        {win32, _} ->
                            case file:list_dir(filename:join([Path, "deps", "elixir", "lib"])) of
                                {ok, ElixirLibs} -> 
                                    lists:maps(fun(Dir) ->
                                                       filename:join([Path, "deps", "elixir", "lib", Dir, "ebin"])
                                               end, ElixirLibs);
                                {error, _} -> []
                            end;
                        _ -> 
                            [filename:join([Path, "deps", "elixir", "lib", "*", "ebin"])]
                    end,
      DepsEbins ++ ElixirEbins.
  
  all_ebin_dirs2(Path) ->
      case file:list_dir(filename:join([Path, "deps"])) of
  
negative.code:             []
      end.       
  
  
  %%--------------------------------------------------------------------
  %% @doc Injects the boss.conf configuration to the boss application
  %% @spec init_conf(BossConf)
  