{"action":"closed","issue":{"url":"https://api.github.com/repos/rebar/rebar3/issues/973","labels_url":"https://api.github.com/repos/rebar/rebar3/issues/973/labels{/name}","comments_url":"https://api.github.com/repos/rebar/rebar3/issues/973/comments","events_url":"https://api.github.com/repos/rebar/rebar3/issues/973/events","html_url":"https://github.com/rebar/rebar3/issues/973","id":121322870,"number":973,"title":"Build outside source directory fails","user":{"login":"schutm","id":1652928,"avatar_url":"https://avatars.githubusercontent.com/u/1652928?v=3","gravatar_id":"","url":"https://api.github.com/users/schutm","html_url":"https://github.com/schutm","followers_url":"https://api.github.com/users/schutm/followers","following_url":"https://api.github.com/users/schutm/following{/other_user}","gists_url":"https://api.github.com/users/schutm/gists{/gist_id}","starred_url":"https://api.github.com/users/schutm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schutm/subscriptions","organizations_url":"https://api.github.com/users/schutm/orgs","repos_url":"https://api.github.com/users/schutm/repos","events_url":"https://api.github.com/users/schutm/events{/privacy}","received_events_url":"https://api.github.com/users/schutm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rebar/rebar3/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-09T19:41:34Z","updated_at":"2016-01-05T03:01:49Z","closed_at":"2016-01-05T03:01:49Z","body":"I normally don't like to have my beam files, within my source directories. I prefer to be able to do a simple clean by just deleting the whole output directory. Sometime even over projects. For this I have the (strange?) setup of:\r\n\r\n/projects\r\n  + sources\r\n       + project 1\r\n       + project 2\r\n  + outputs\r\n       + project 1\r\n       + project 2\r\n\r\nThis allows me to quickly regain space, may I run out of diskspace.\r\n\r\nFor rebar3 I included the following line in rebar.config:\r\n   {base_dir, \"../outputs\"}.\r\n\r\nHowever the build fails now, because the directories are wrongly symlinked: e.g. include -> ../../../../../apps/web/include. Clearly there are a few parent directories to much in here and a 'sources' directory to less.\r\n\r\nIs this use case even supported?"}}