{"action":"created","comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments/25130932","id":25130932,"diff_hunk":"@@ -63,7 +66,14 @@ public void build(@NotNull GoTarget target,\n     JpsTypedModule<JpsSimpleElement<JpsGoModuleProperties>> module = jpsModule.asTyped(JpsGoModuleType.INSTANCE);\n     assert module != null;\n     JpsSdk<JpsDummyElement> sdk = getSdk(context, module);\n-    File executable = GoEnvironmentUtil.getExecutableForSdk(sdk.getHomePath());\n+    File exec = GoEnvironmentUtil.getExecutableForSdk(sdk.getHomePath());\n+    if (exec == null) {\n+      Notifications.Bus.notify(","path":"jps-plugin/src/com/goide/jps/builder/GoBuilder.java","position":17,"original_position":17,"commit_id":"d2378e5d5d4f2db57950d7c44e41f561813ff226","original_commit_id":"d2378e5d5d4f2db57950d7c44e41f561813ff226","user":{"login":"zolotov","id":140920,"avatar_url":"https://avatars.githubusercontent.com/u/140920?v=3","gravatar_id":"","url":"https://api.github.com/users/zolotov","html_url":"https://github.com/zolotov","followers_url":"https://api.github.com/users/zolotov/followers","following_url":"https://api.github.com/users/zolotov/following{/other_user}","gists_url":"https://api.github.com/users/zolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/zolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolotov/subscriptions","organizations_url":"https://api.github.com/users/zolotov/orgs","repos_url":"https://api.github.com/users/zolotov/repos","events_url":"https://api.github.com/users/zolotov/events{/privacy}","received_events_url":"https://api.github.com/users/zolotov/received_events","type":"User","site_admin":false},"body":"GoEnvironmentUtil is ok for that. \r\nAlso, as I see all clients of getExecutablePath method show these notifications, so you can add parameter to getExecutablePath like (showNotificationOnFail) and move showing notifications there.","created_at":"2015-02-22T10:34:23Z","updated_at":"2015-02-22T10:34:23Z","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1349#discussion_r25130932","pull_request_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349","_links":{"self":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments/25130932"},"html":{"href":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1349#discussion_r25130932"},"pull_request":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349"}}},"pull_request":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349","id":29762615,"html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1349","diff_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1349.diff","patch_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1349.patch","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1349","number":1349,"state":"open","locked":false,"title":"Improved support for AppEngine SDK (fixes #1278)","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"body":"With these changes I can now set the Go AppEngine SDK again.\r\nThere's a TODO which should be looked at before doing the merge. If agreed I can simply remove the commented line but I want to have some input first.\r\n\r\nThank you.","created_at":"2015-02-21T23:51:11Z","updated_at":"2015-02-22T10:34:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aff9cbabbc8235173d4773f8c42884bf370addca","assignee":{"login":"zolotov","id":140920,"avatar_url":"https://avatars.githubusercontent.com/u/140920?v=3","gravatar_id":"","url":"https://api.github.com/users/zolotov","html_url":"https://github.com/zolotov","followers_url":"https://api.github.com/users/zolotov/followers","following_url":"https://api.github.com/users/zolotov/following{/other_user}","gists_url":"https://api.github.com/users/zolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/zolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolotov/subscriptions","organizations_url":"https://api.github.com/users/zolotov/orgs","repos_url":"https://api.github.com/users/zolotov/repos","events_url":"https://api.github.com/users/zolotov/events{/privacy}","received_events_url":"https://api.github.com/users/zolotov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/6","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/6/labels","id":169045,"number":6,"title":"1.0.0","description":"","creator":{"login":"mtoader","id":372850,"avatar_url":"https://avatars.githubusercontent.com/u/372850?v=3","gravatar_id":"","url":"https://api.github.com/users/mtoader","html_url":"https://github.com/mtoader","followers_url":"https://api.github.com/users/mtoader/followers","following_url":"https://api.github.com/users/mtoader/following{/other_user}","gists_url":"https://api.github.com/users/mtoader/gists{/gist_id}","starred_url":"https://api.github.com/users/mtoader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtoader/subscriptions","organizations_url":"https://api.github.com/users/mtoader/orgs","repos_url":"https://api.github.com/users/mtoader/repos","events_url":"https://api.github.com/users/mtoader/events{/privacy}","received_events_url":"https://api.github.com/users/mtoader/received_events","type":"User","site_admin":false},"open_issues":59,"closed_issues":132,"state":"open","created_at":"2012-09-02T21:49:33Z","updated_at":"2015-02-22T10:14:35Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349/commits","review_comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349/comments","review_comment_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1349/comments","statuses_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/statuses/d2378e5d5d4f2db57950d7c44e41f561813ff226","head":{"label":"dlsniper:fix-appengine-support","ref":"fix-appengine-support","sha":"d2378e5d5d4f2db57950d7c44e41f561813ff226","user":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"repo":{"id":13428622,"name":"google-go-lang-idea-plugin","full_name":"dlsniper/google-go-lang-idea-plugin","owner":{"login":"dlsniper","id":607868,"avatar_url":"https://avatars.githubusercontent.com/u/607868?v=3","gravatar_id":"","url":"https://api.github.com/users/dlsniper","html_url":"https://github.com/dlsniper","followers_url":"https://api.github.com/users/dlsniper/followers","following_url":"https://api.github.com/users/dlsniper/following{/other_user}","gists_url":"https://api.github.com/users/dlsniper/gists{/gist_id}","starred_url":"https://api.github.com/users/dlsniper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlsniper/subscriptions","organizations_url":"https://api.github.com/users/dlsniper/orgs","repos_url":"https://api.github.com/users/dlsniper/repos","events_url":"https://api.github.com/users/dlsniper/events{/privacy}","received_events_url":"https://api.github.com/users/dlsniper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dlsniper/google-go-lang-idea-plugin","description":"Google Go language IDE built using the Intellij Platform. Released both an integrated IDE and as a standalone Intellij IDEA plugin","fork":true,"url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin","forks_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/forks","keys_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/teams","hooks_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/hooks","issue_events_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/events","assignees_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/tags","blobs_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/languages","stargazers_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/stargazers","contributors_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/contributors","subscribers_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/subscribers","subscription_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/subscription","commits_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/merges","archive_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/downloads","issues_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/labels{/name}","releases_url":"https://api.github.com/repos/dlsniper/google-go-lang-idea-plugin/releases{/id}","created_at":"2013-10-08T23:54:54Z","updated_at":"2014-12-16T20:13:24Z","pushed_at":"2015-02-22T10:21:20Z","git_url":"git://github.com/dlsniper/google-go-lang-idea-plugin.git","ssh_url":"git@github.com:dlsniper/google-go-lang-idea-plugin.git","clone_url":"https://github.com/dlsniper/google-go-lang-idea-plugin.git","svn_url":"https://github.com/dlsniper/google-go-lang-idea-plugin","homepage":"http://plugins.intellij.net/plugin/?idea&id=5047","size":21450,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"go-lang-plugin-org:v1.0.0-alpha0","ref":"v1.0.0-alpha0","sha":"abb18d8e8a2cb4ee9c5e99357245115c9be6892b","user":{"login":"go-lang-plugin-org","id":6117521,"avatar_url":"https://avatars.githubusercontent.com/u/6117521?v=3","gravatar_id":"","url":"https://api.github.com/users/go-lang-plugin-org","html_url":"https://github.com/go-lang-plugin-org","followers_url":"https://api.github.com/users/go-lang-plugin-org/followers","following_url":"https://api.github.com/users/go-lang-plugin-org/following{/other_user}","gists_url":"https://api.github.com/users/go-lang-plugin-org/gists{/gist_id}","starred_url":"https://api.github.com/users/go-lang-plugin-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-lang-plugin-org/subscriptions","organizations_url":"https://api.github.com/users/go-lang-plugin-org/orgs","repos_url":"https://api.github.com/users/go-lang-plugin-org/repos","events_url":"https://api.github.com/users/go-lang-plugin-org/events{/privacy}","received_events_url":"https://api.github.com/users/go-lang-plugin-org/received_events","type":"Organization","site_admin":false},"repo":{"id":869754,"name":"go-lang-idea-plugin","full_name":"go-lang-plugin-org/go-lang-idea-plugin","owner":{"login":"go-lang-plugin-org","id":6117521,"avatar_url":"https://avatars.githubusercontent.com/u/6117521?v=3","gravatar_id":"","url":"https://api.github.com/users/go-lang-plugin-org","html_url":"https://github.com/go-lang-plugin-org","followers_url":"https://api.github.com/users/go-lang-plugin-org/followers","following_url":"https://api.github.com/users/go-lang-plugin-org/following{/other_user}","gists_url":"https://api.github.com/users/go-lang-plugin-org/gists{/gist_id}","starred_url":"https://api.github.com/users/go-lang-plugin-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-lang-plugin-org/subscriptions","organizations_url":"https://api.github.com/users/go-lang-plugin-org/orgs","repos_url":"https://api.github.com/users/go-lang-plugin-org/repos","events_url":"https://api.github.com/users/go-lang-plugin-org/events{/privacy}","received_events_url":"https://api.github.com/users/go-lang-plugin-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin","description":"Google Go language IDE built using the Intellij Platform. Released both an integrated IDE and as a standalone Intellij IDEA plugin","fork":false,"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin","forks_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/forks","keys_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/teams","hooks_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/hooks","issue_events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/events","assignees_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/tags","blobs_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/languages","stargazers_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/stargazers","contributors_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/contributors","subscribers_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/subscribers","subscription_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/subscription","commits_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/merges","archive_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/downloads","issues_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/labels{/name}","releases_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/releases{/id}","created_at":"2010-08-29T08:20:01Z","updated_at":"2015-02-21T14:39:45Z","pushed_at":"2015-02-22T10:14:35Z","git_url":"git://github.com/go-lang-plugin-org/go-lang-idea-plugin.git","ssh_url":"git@github.com:go-lang-plugin-org/go-lang-idea-plugin.git","clone_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin.git","svn_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin","homepage":"http://plugins.intellij.net/plugin/?idea&id=5047","size":28139,"stargazers_count":1216,"watchers_count":1216,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":203,"mirror_url":null,"open_issues_count":171,"forks":203,"open_issues":171,"watchers":1216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349"},"html":{"href":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/1349"},"issue":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1349"},"comments":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1349/comments"},"review_comments":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349/comments"},"review_comment":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/pulls/1349/commits"},"statuses":{"href":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/statuses/d2378e5d5d4f2db57950d7c44e41f561813ff226"}}}}