{"action":"created","comment":{"url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/comments/53916473","id":53916473,"diff_hunk":"@@ -359,3 +381,38 @@ object ExtensionCompiler extends AnyRef with HasLogger {\n   }\n \n }\n+\n+/**\n+ * Generator for the creator classes of the IDE extensions. Do not forget to\n+ * specify the `saveLocation` before you run this App. It needs to point to\n+ * something like `/path/to/scala-ide/org.scala-ide.sdt.core/src`. All the\n+ * generated sources are written together with their package hierarchy into this\n+ * directory.\n+ */\n+object ExtensionGenerator extends App {\n+\n+  private val saveLocation = \"/home/antoras/dev/scala/scala-ide/org.scala-ide.sdt.core/src\"","path":"org.scala-ide.sdt.core/src/org/scalaide/core/internal/extensions/ExtensionCompiler.scala","position":159,"original_position":159,"commit_id":"d5643a5b817b3984ccf6a45b5e860e710bbef684","original_commit_id":"d5643a5b817b3984ccf6a45b5e860e710bbef684","user":{"login":"sschaef","id":488530,"avatar_url":"https://avatars.githubusercontent.com/u/488530?v=3","gravatar_id":"","url":"https://api.github.com/users/sschaef","html_url":"https://github.com/sschaef","followers_url":"https://api.github.com/users/sschaef/followers","following_url":"https://api.github.com/users/sschaef/following{/other_user}","gists_url":"https://api.github.com/users/sschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/sschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschaef/subscriptions","organizations_url":"https://api.github.com/users/sschaef/orgs","repos_url":"https://api.github.com/users/sschaef/repos","events_url":"https://api.github.com/users/sschaef/events{/privacy}","received_events_url":"https://api.github.com/users/sschaef/received_events","type":"User","site_admin":false},"body":"I ran it in Eclipse, which figured out the classpath by itself. Since this app is part of the sdt.core project it shares the same classpath.","created_at":"2016-02-24T10:03:08Z","updated_at":"2016-02-24T10:03:08Z","html_url":"https://github.com/scala-ide/scala-ide/pull/1071#discussion_r53916473","pull_request_url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071","_links":{"self":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/comments/53916473"},"html":{"href":"https://github.com/scala-ide/scala-ide/pull/1071#discussion_r53916473"},"pull_request":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071"}}},"pull_request":{"url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071","id":60248412,"html_url":"https://github.com/scala-ide/scala-ide/pull/1071","diff_url":"https://github.com/scala-ide/scala-ide/pull/1071.diff","patch_url":"https://github.com/scala-ide/scala-ide/pull/1071.patch","issue_url":"https://api.github.com/repos/scala-ide/scala-ide/issues/1071","number":1071,"state":"open","locked":false,"title":"Store generated sources in Scala IDE source folder","user":{"login":"sschaef","id":488530,"avatar_url":"https://avatars.githubusercontent.com/u/488530?v=3","gravatar_id":"","url":"https://api.github.com/users/sschaef","html_url":"https://github.com/sschaef","followers_url":"https://api.github.com/users/sschaef/followers","following_url":"https://api.github.com/users/sschaef/following{/other_user}","gists_url":"https://api.github.com/users/sschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/sschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschaef/subscriptions","organizations_url":"https://api.github.com/users/sschaef/orgs","repos_url":"https://api.github.com/users/sschaef/repos","events_url":"https://api.github.com/users/sschaef/events{/privacy}","received_events_url":"https://api.github.com/users/sschaef/received_events","type":"User","site_admin":false},"body":"The extension compiler will automatically load these files. The runtime\r\ngenerated classes will no longer be considered. This makes the code against binary incompatibilities and the load times faster.\r\n\r\nFixes #1002652","created_at":"2016-02-22T21:59:21Z","updated_at":"2016-02-24T10:03:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"448cd2ae4a14a0cf3d31be987ad4944dedc74378","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071/commits","review_comments_url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071/comments","review_comment_url":"https://api.github.com/repos/scala-ide/scala-ide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-ide/scala-ide/issues/1071/comments","statuses_url":"https://api.github.com/repos/scala-ide/scala-ide/statuses/d5643a5b817b3984ccf6a45b5e860e710bbef684","head":{"label":"sschaef:t1002652-generate-extension-sources","ref":"t1002652-generate-extension-sources","sha":"d5643a5b817b3984ccf6a45b5e860e710bbef684","user":{"login":"sschaef","id":488530,"avatar_url":"https://avatars.githubusercontent.com/u/488530?v=3","gravatar_id":"","url":"https://api.github.com/users/sschaef","html_url":"https://github.com/sschaef","followers_url":"https://api.github.com/users/sschaef/followers","following_url":"https://api.github.com/users/sschaef/following{/other_user}","gists_url":"https://api.github.com/users/sschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/sschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschaef/subscriptions","organizations_url":"https://api.github.com/users/sschaef/orgs","repos_url":"https://api.github.com/users/sschaef/repos","events_url":"https://api.github.com/users/sschaef/events{/privacy}","received_events_url":"https://api.github.com/users/sschaef/received_events","type":"User","site_admin":false},"repo":{"id":4021060,"name":"scala-ide","full_name":"sschaef/scala-ide","owner":{"login":"sschaef","id":488530,"avatar_url":"https://avatars.githubusercontent.com/u/488530?v=3","gravatar_id":"","url":"https://api.github.com/users/sschaef","html_url":"https://github.com/sschaef","followers_url":"https://api.github.com/users/sschaef/followers","following_url":"https://api.github.com/users/sschaef/following{/other_user}","gists_url":"https://api.github.com/users/sschaef/gists{/gist_id}","starred_url":"https://api.github.com/users/sschaef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sschaef/subscriptions","organizations_url":"https://api.github.com/users/sschaef/orgs","repos_url":"https://api.github.com/users/sschaef/repos","events_url":"https://api.github.com/users/sschaef/events{/privacy}","received_events_url":"https://api.github.com/users/sschaef/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sschaef/scala-ide","description":"Scala IDE for Eclipse","fork":true,"url":"https://api.github.com/repos/sschaef/scala-ide","forks_url":"https://api.github.com/repos/sschaef/scala-ide/forks","keys_url":"https://api.github.com/repos/sschaef/scala-ide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sschaef/scala-ide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sschaef/scala-ide/teams","hooks_url":"https://api.github.com/repos/sschaef/scala-ide/hooks","issue_events_url":"https://api.github.com/repos/sschaef/scala-ide/issues/events{/number}","events_url":"https://api.github.com/repos/sschaef/scala-ide/events","assignees_url":"https://api.github.com/repos/sschaef/scala-ide/assignees{/user}","branches_url":"https://api.github.com/repos/sschaef/scala-ide/branches{/branch}","tags_url":"https://api.github.com/repos/sschaef/scala-ide/tags","blobs_url":"https://api.github.com/repos/sschaef/scala-ide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sschaef/scala-ide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sschaef/scala-ide/git/refs{/sha}","trees_url":"https://api.github.com/repos/sschaef/scala-ide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sschaef/scala-ide/statuses/{sha}","languages_url":"https://api.github.com/repos/sschaef/scala-ide/languages","stargazers_url":"https://api.github.com/repos/sschaef/scala-ide/stargazers","contributors_url":"https://api.github.com/repos/sschaef/scala-ide/contributors","subscribers_url":"https://api.github.com/repos/sschaef/scala-ide/subscribers","subscription_url":"https://api.github.com/repos/sschaef/scala-ide/subscription","commits_url":"https://api.github.com/repos/sschaef/scala-ide/commits{/sha}","git_commits_url":"https://api.github.com/repos/sschaef/scala-ide/git/commits{/sha}","comments_url":"https://api.github.com/repos/sschaef/scala-ide/comments{/number}","issue_comment_url":"https://api.github.com/repos/sschaef/scala-ide/issues/comments{/number}","contents_url":"https://api.github.com/repos/sschaef/scala-ide/contents/{+path}","compare_url":"https://api.github.com/repos/sschaef/scala-ide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sschaef/scala-ide/merges","archive_url":"https://api.github.com/repos/sschaef/scala-ide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sschaef/scala-ide/downloads","issues_url":"https://api.github.com/repos/sschaef/scala-ide/issues{/number}","pulls_url":"https://api.github.com/repos/sschaef/scala-ide/pulls{/number}","milestones_url":"https://api.github.com/repos/sschaef/scala-ide/milestones{/number}","notifications_url":"https://api.github.com/repos/sschaef/scala-ide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sschaef/scala-ide/labels{/name}","releases_url":"https://api.github.com/repos/sschaef/scala-ide/releases{/id}","deployments_url":"https://api.github.com/repos/sschaef/scala-ide/deployments","created_at":"2012-04-13T23:03:01Z","updated_at":"2015-05-08T13:08:22Z","pushed_at":"2016-02-23T16:45:46Z","git_url":"git://github.com/sschaef/scala-ide.git","ssh_url":"git@github.com:sschaef/scala-ide.git","clone_url":"https://github.com/sschaef/scala-ide.git","svn_url":"https://github.com/sschaef/scala-ide","homepage":"www.scala-ide.org","size":145866,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scala-ide:master","ref":"master","sha":"3203d28bdd839b931d38282dfe1453e694634147","user":{"login":"scala-ide","id":1026788,"avatar_url":"https://avatars.githubusercontent.com/u/1026788?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-ide","html_url":"https://github.com/scala-ide","followers_url":"https://api.github.com/users/scala-ide/followers","following_url":"https://api.github.com/users/scala-ide/following{/other_user}","gists_url":"https://api.github.com/users/scala-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-ide/subscriptions","organizations_url":"https://api.github.com/users/scala-ide/orgs","repos_url":"https://api.github.com/users/scala-ide/repos","events_url":"https://api.github.com/users/scala-ide/events{/privacy}","received_events_url":"https://api.github.com/users/scala-ide/received_events","type":"Organization","site_admin":false},"repo":{"id":2510011,"name":"scala-ide","full_name":"scala-ide/scala-ide","owner":{"login":"scala-ide","id":1026788,"avatar_url":"https://avatars.githubusercontent.com/u/1026788?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-ide","html_url":"https://github.com/scala-ide","followers_url":"https://api.github.com/users/scala-ide/followers","following_url":"https://api.github.com/users/scala-ide/following{/other_user}","gists_url":"https://api.github.com/users/scala-ide/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-ide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-ide/subscriptions","organizations_url":"https://api.github.com/users/scala-ide/orgs","repos_url":"https://api.github.com/users/scala-ide/repos","events_url":"https://api.github.com/users/scala-ide/events{/privacy}","received_events_url":"https://api.github.com/users/scala-ide/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-ide/scala-ide","description":"Scala IDE for Eclipse","fork":false,"url":"https://api.github.com/repos/scala-ide/scala-ide","forks_url":"https://api.github.com/repos/scala-ide/scala-ide/forks","keys_url":"https://api.github.com/repos/scala-ide/scala-ide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-ide/scala-ide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-ide/scala-ide/teams","hooks_url":"https://api.github.com/repos/scala-ide/scala-ide/hooks","issue_events_url":"https://api.github.com/repos/scala-ide/scala-ide/issues/events{/number}","events_url":"https://api.github.com/repos/scala-ide/scala-ide/events","assignees_url":"https://api.github.com/repos/scala-ide/scala-ide/assignees{/user}","branches_url":"https://api.github.com/repos/scala-ide/scala-ide/branches{/branch}","tags_url":"https://api.github.com/repos/scala-ide/scala-ide/tags","blobs_url":"https://api.github.com/repos/scala-ide/scala-ide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-ide/scala-ide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-ide/scala-ide/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-ide/scala-ide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-ide/scala-ide/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-ide/scala-ide/languages","stargazers_url":"https://api.github.com/repos/scala-ide/scala-ide/stargazers","contributors_url":"https://api.github.com/repos/scala-ide/scala-ide/contributors","subscribers_url":"https://api.github.com/repos/scala-ide/scala-ide/subscribers","subscription_url":"https://api.github.com/repos/scala-ide/scala-ide/subscription","commits_url":"https://api.github.com/repos/scala-ide/scala-ide/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-ide/scala-ide/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-ide/scala-ide/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-ide/scala-ide/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-ide/scala-ide/contents/{+path}","compare_url":"https://api.github.com/repos/scala-ide/scala-ide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-ide/scala-ide/merges","archive_url":"https://api.github.com/repos/scala-ide/scala-ide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-ide/scala-ide/downloads","issues_url":"https://api.github.com/repos/scala-ide/scala-ide/issues{/number}","pulls_url":"https://api.github.com/repos/scala-ide/scala-ide/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-ide/scala-ide/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-ide/scala-ide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-ide/scala-ide/labels{/name}","releases_url":"https://api.github.com/repos/scala-ide/scala-ide/releases{/id}","deployments_url":"https://api.github.com/repos/scala-ide/scala-ide/deployments","created_at":"2011-10-04T05:56:23Z","updated_at":"2016-02-16T10:57:19Z","pushed_at":"2016-02-23T14:58:26Z","git_url":"git://github.com/scala-ide/scala-ide.git","ssh_url":"git@github.com:scala-ide/scala-ide.git","clone_url":"https://github.com/scala-ide/scala-ide.git","svn_url":"https://github.com/scala-ide/scala-ide","homepage":"www.scala-ide.org","size":147910,"stargazers_count":423,"watchers_count":423,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":230,"mirror_url":null,"open_issues_count":4,"forks":230,"open_issues":4,"watchers":423,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071"},"html":{"href":"https://github.com/scala-ide/scala-ide/pull/1071"},"issue":{"href":"https://api.github.com/repos/scala-ide/scala-ide/issues/1071"},"comments":{"href":"https://api.github.com/repos/scala-ide/scala-ide/issues/1071/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-ide/scala-ide/pulls/1071/commits"},"statuses":{"href":"https://api.github.com/repos/scala-ide/scala-ide/statuses/d5643a5b817b3984ccf6a45b5e860e710bbef684"}}}}