{"action":"created","issue":{"url":"https://api.github.com/repos/square/wire/issues/507","labels_url":"https://api.github.com/repos/square/wire/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/square/wire/issues/507/comments","events_url":"https://api.github.com/repos/square/wire/issues/507/events","html_url":"https://github.com/square/wire/issues/507","id":113711928,"number":507,"title":"Wire shouldn't try to load both foo.proto and ././foo.proto","user":{"login":"asarazan","id":542872,"avatar_url":"https://avatars.githubusercontent.com/u/542872?v=3","gravatar_id":"","url":"https://api.github.com/users/asarazan","html_url":"https://github.com/asarazan","followers_url":"https://api.github.com/users/asarazan/followers","following_url":"https://api.github.com/users/asarazan/following{/other_user}","gists_url":"https://api.github.com/users/asarazan/gists{/gist_id}","starred_url":"https://api.github.com/users/asarazan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asarazan/subscriptions","organizations_url":"https://api.github.com/users/asarazan/orgs","repos_url":"https://api.github.com/users/asarazan/repos","events_url":"https://api.github.com/users/asarazan/events{/privacy}","received_events_url":"https://api.github.com/users/asarazan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/square/wire/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/square/wire/milestones/2","html_url":"https://github.com/square/wire/milestones/2.1","labels_url":"https://api.github.com/repos/square/wire/milestones/2/labels","id":1336749,"number":2,"title":"2.1","description":"","creator":{"login":"swankjesse","id":133019,"avatar_url":"https://avatars.githubusercontent.com/u/133019?v=3","gravatar_id":"","url":"https://api.github.com/users/swankjesse","html_url":"https://github.com/swankjesse","followers_url":"https://api.github.com/users/swankjesse/followers","following_url":"https://api.github.com/users/swankjesse/following{/other_user}","gists_url":"https://api.github.com/users/swankjesse/gists{/gist_id}","starred_url":"https://api.github.com/users/swankjesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swankjesse/subscriptions","organizations_url":"https://api.github.com/users/swankjesse/orgs","repos_url":"https://api.github.com/users/swankjesse/repos","events_url":"https://api.github.com/users/swankjesse/events{/privacy}","received_events_url":"https://api.github.com/users/swankjesse/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":0,"state":"open","created_at":"2015-10-04T13:22:19Z","updated_at":"2015-10-28T00:43:07Z","due_on":"2016-01-31T05:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-27T23:35:43Z","updated_at":"2015-10-28T22:28:45Z","closed_at":null,"body":"I tried to switch to wire 2.0 and it's spewing errors. Maybe I'm just getting something wrong with the proto_path setting?\r\n\r\n```\r\n~/level/brotofuff/resources/proto $ java -jar ~/wire-compiler-2.0.0-jar-with-dependencies.jar --java_out=~/wiretmp --proto_path=. `find . -name '*.proto'`\r\n```\r\n\r\nyields a whole bunch of stuff like this:\r\n\r\n```\r\n./users.proto needs to import users.proto\r\n  for field error2 (././users.proto at 24:3)\r\n  in message com.levelmoney.proto.users.SendPasswordResetResponse (././users.proto at 17:1)\r\n```\r\n\r\nThe proto in question looks like this:\r\n\r\n```\r\nmessage SendPasswordResetResponse {\r\n  enum SendPasswordResetError { ... }\r\n  optional common.Error error = 1;\r\n  optional common.Events events = 2;\r\n  optional SendPasswordResetError error2 = 3;\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/square/wire/issues/comments/152016954","html_url":"https://github.com/square/wire/issues/507#issuecomment-152016954","issue_url":"https://api.github.com/repos/square/wire/issues/507","id":152016954,"user":{"login":"asarazan","id":542872,"avatar_url":"https://avatars.githubusercontent.com/u/542872?v=3","gravatar_id":"","url":"https://api.github.com/users/asarazan","html_url":"https://github.com/asarazan","followers_url":"https://api.github.com/users/asarazan/followers","following_url":"https://api.github.com/users/asarazan/following{/other_user}","gists_url":"https://api.github.com/users/asarazan/gists{/gist_id}","starred_url":"https://api.github.com/users/asarazan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asarazan/subscriptions","organizations_url":"https://api.github.com/users/asarazan/orgs","repos_url":"https://api.github.com/users/asarazan/repos","events_url":"https://api.github.com/users/asarazan/events{/privacy}","received_events_url":"https://api.github.com/users/asarazan/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T22:28:45Z","updated_at":"2015-10-28T22:28:45Z","body":"Yep that works!"}}