{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/3979","labels_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3979/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3979/comments","events_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3979/events","html_url":"https://github.com/elixir-lang/elixir/issues/3979","id":118361480,"number":3979,"title":"Mix deps path: difference where the path points to","user":{"login":"ThomasArts","id":638015,"avatar_url":"https://avatars.githubusercontent.com/u/638015?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasArts","html_url":"https://github.com/ThomasArts","followers_url":"https://api.github.com/users/ThomasArts/followers","following_url":"https://api.github.com/users/ThomasArts/following{/other_user}","gists_url":"https://api.github.com/users/ThomasArts/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasArts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasArts/subscriptions","organizations_url":"https://api.github.com/users/ThomasArts/orgs","repos_url":"https://api.github.com/users/ThomasArts/repos","events_url":"https://api.github.com/users/ThomasArts/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasArts/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/App:Mix","name":"App:Mix","color":"CCCCCC"},{"url":"https://api.github.com/repos/elixir-lang/elixir/labels/Kind:Bug","name":"Kind:Bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/elixir-lang/elixir/milestones/16","html_url":"https://github.com/elixir-lang/elixir/milestones/v1.2.0","labels_url":"https://api.github.com/repos/elixir-lang/elixir/milestones/16/labels","id":1248131,"number":16,"title":"v1.2.0","description":"","creator":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":22,"state":"open","created_at":"2015-08-10T12:59:23Z","updated_at":"2015-11-24T12:55:15Z","due_on":"2015-12-20T23:00:00Z","closed_at":null},"comments":6,"created_at":"2015-11-23T11:20:59Z","updated_at":"2015-11-24T13:13:42Z","closed_at":"2015-11-24T12:55:15Z","body":"Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:2:2] [async-threads:10] [kernel-poll:false]\r\nInteractive Elixir (1.1.1) \r\n\r\nI have a little Erlang project structured as:\r\nmyapp/ebin   myapp/include  myapp/doc\r\nThe ebin directpry contains all beam files and a myapp.app file.\r\n\r\nI added a dependency \r\n  {:myapp, path: \"../myapp-2.0\", compile: false}\r\n\r\nThis is looking for an app file in the directory \r\n  could not find an app file at _build/dev/lib/myapp/ebin/myapp.app. This may happen if the dependency was not yet compiled, or you specified the wrong application name in your deps, or the dependency indeed has no app file (then you can pass app: false as option)\r\n** (Mix) Can't continue due to errors on dependencies\r\n\r\nBut if I copy the complete applications to deps/myapp\r\nand I adapt the mix file: {:myapp, path: \"deps/myapp\", compile: false}\r\nthen it all works fine.\r\n\r\nMoreover, if I go back to the original setting and use:\r\n  {:myapp, path: \"../myapp-2.0\", compile: false, :app false}\r\nthen it also works fine.\r\n\r\nMy conclusion is that the search for a .app file should take the :compile flag into consideration also for paths outside deps.... But I cannot put my finger on it when inspecting the code. My assumption is that line 14 in deps.loadpaths.ex should be changed.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elixir-lang/elixir/issues/comments/159262722","html_url":"https://github.com/elixir-lang/elixir/issues/3979#issuecomment-159262722","issue_url":"https://api.github.com/repos/elixir-lang/elixir/issues/3979","id":159262722,"user":{"login":"ThomasArts","id":638015,"avatar_url":"https://avatars.githubusercontent.com/u/638015?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasArts","html_url":"https://github.com/ThomasArts","followers_url":"https://api.github.com/users/ThomasArts/followers","following_url":"https://api.github.com/users/ThomasArts/following{/other_user}","gists_url":"https://api.github.com/users/ThomasArts/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasArts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasArts/subscriptions","organizations_url":"https://api.github.com/users/ThomasArts/orgs","repos_url":"https://api.github.com/users/ThomasArts/repos","events_url":"https://api.github.com/users/ThomasArts/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasArts/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T13:13:42Z","updated_at":"2015-11-24T13:13:42Z","body":"Excellent.\nThanks a lot for your help. I can manage with this, no problem.\n\n/Thomas\n\n\n> On 24 Nov 2015, at 13:56, José Valim <notifications@github.com> wrote:\n> \n> Elixir 1.2 will come out in a week or two (at least the release candidate). For now, the best is to ensure the application and the filesystem path are the same (i.e. myapp for both).\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/elixir-lang/elixir/issues/3979#issuecomment-159259638>.\n> \n\n"}}