{"action":"created","comment":{"url":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/comments/35129808","id":35129808,"diff_hunk":"@@ -0,0 +1,66 @@\n+package org.elixir_lang.jps;\n+\n+import com.intellij.openapi.util.SystemInfo;\n+import com.intellij.openapi.util.io.FileUtil;\n+import com.intellij.util.PathUtil;\n+import com.intellij.util.PathUtilRt;\n+import org.elixir_lang.jps.model.JpsElixirModuleType;\n+import org.elixir_lang.jps.model.JpsElixirSdkType;\n+import org.jetbrains.annotations.NotNull;\n+import org.jetbrains.annotations.Nullable;\n+import org.jetbrains.jps.model.JpsDummyElement;\n+import org.jetbrains.jps.model.JpsElement;\n+import org.jetbrains.jps.model.library.JpsOrderRootType;\n+import org.jetbrains.jps.model.library.JpsTypedLibrary;\n+import org.jetbrains.jps.model.library.sdk.JpsSdk;\n+import org.jetbrains.jps.model.module.JpsModule;\n+import org.jetbrains.jps.util.JpsPathUtil;\n+\n+/**\n+ * Created by zyuyou on 15/7/17.\n+ */\n+public class ElixirBuilderTest extends JpsBuildTestCase {\n+  public static final String ELIXIR_SDK_PATH = \"/usr/local/Cellar/elixir\";","path":"jps-builder/tests/org/elixir_lang/jps/ElixirBuilderTest.java","position":23,"original_position":23,"commit_id":"49c0362eca0a5143b9062b2ad56328f7e681cf2f","original_commit_id":"026917ec149b8cae8eab4f2137543246cf10c089","user":{"login":"KronicDeth","id":298259,"avatar_url":"https://avatars.githubusercontent.com/u/298259?v=3","gravatar_id":"","url":"https://api.github.com/users/KronicDeth","html_url":"https://github.com/KronicDeth","followers_url":"https://api.github.com/users/KronicDeth/followers","following_url":"https://api.github.com/users/KronicDeth/following{/other_user}","gists_url":"https://api.github.com/users/KronicDeth/gists{/gist_id}","starred_url":"https://api.github.com/users/KronicDeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KronicDeth/subscriptions","organizations_url":"https://api.github.com/users/KronicDeth/orgs","repos_url":"https://api.github.com/users/KronicDeth/repos","events_url":"https://api.github.com/users/KronicDeth/events{/privacy}","received_events_url":"https://api.github.com/users/KronicDeth/received_events","type":"User","site_admin":false},"body":"Ok, so it doesn't take that long to download anymore, if you merge master after https://github.com/KronicDeth/intellij-elixir/commit/66b3d9349ea1f724ebea872f5effcb30af17a2e3, you'll have the fixed build that uses IDEA 14.1.4.","created_at":"2015-07-21T17:30:49Z","updated_at":"2015-07-21T17:30:49Z","html_url":"https://github.com/KronicDeth/intellij-elixir/pull/167#discussion_r35129808","pull_request_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167","_links":{"self":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/comments/35129808"},"html":{"href":"https://github.com/KronicDeth/intellij-elixir/pull/167#discussion_r35129808"},"pull_request":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167"}}},"pull_request":{"url":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167","id":40274269,"html_url":"https://github.com/KronicDeth/intellij-elixir/pull/167","diff_url":"https://github.com/KronicDeth/intellij-elixir/pull/167.diff","patch_url":"https://github.com/KronicDeth/intellij-elixir/pull/167.patch","issue_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/issues/167","number":167,"state":"open","locked":false,"title":"New SDK implemention, elixir-builder and so on","user":{"login":"zyuyou","id":1913492,"avatar_url":"https://avatars.githubusercontent.com/u/1913492?v=3","gravatar_id":"","url":"https://api.github.com/users/zyuyou","html_url":"https://github.com/zyuyou","followers_url":"https://api.github.com/users/zyuyou/followers","following_url":"https://api.github.com/users/zyuyou/following{/other_user}","gists_url":"https://api.github.com/users/zyuyou/gists{/gist_id}","starred_url":"https://api.github.com/users/zyuyou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyuyou/subscriptions","organizations_url":"https://api.github.com/users/zyuyou/orgs","repos_url":"https://api.github.com/users/zyuyou/repos","events_url":"https://api.github.com/users/zyuyou/events{/privacy}","received_events_url":"https://api.github.com/users/zyuyou/received_events","type":"User","site_admin":false},"body":"1.< new Project > is very simple, just create source-dir **lib**, but I will implement new one which like \"mix new options\"\r\n![new project](https://cloud.githubusercontent.com/assets/1913492/8757107/372d3e8a-2d0a-11e5-81cb-843a0dc99a3e.png)\r\n2. < Create project from existing sources > just detect the project' sdkType, maybe should detect the sourceRoot too, but mix importWizard is more powerfull.\r\n![mix-importwizard-1](https://cloud.githubusercontent.com/assets/1913492/8757218/ff907946-2d0a-11e5-9ef7-ca22d8249008.png)\r\n![mix-importwizard-2](https://cloud.githubusercontent.com/assets/1913492/8757219/ff98ed56-2d0a-11e5-9787-0e2a44085ec4.png)\r\n![projectdetector](https://cloud.githubusercontent.com/assets/1913492/8757220/ffa16256-2d0a-11e5-9323-b024598e6242.png)\r\n3. runconfiguration which use mix tool, and I will add **mix ex-unit** runconfiguration too in the future because it was a difficult job.\r\n4. **elixir-builder**, now we can use `shift+command+F9` or `command+B` to compile source file or make project and module.\r\n![2015-07-16 5 03 59](https://cloud.githubusercontent.com/assets/1913492/8757387/61c25f48-2d0c-11e5-8c6d-f3949f89a756.png)\r\n![2015-07-18 5 19 50](https://cloud.githubusercontent.com/assets/1913492/8757424/a8424ef6-2d0c-11e5-8ccc-76ab27efab13.png)\r\n5.add some new fileTemplates and also separate new-Elixir-File from others as a new group.\r\n![2015-07-18 5 22 14](https://cloud.githubusercontent.com/assets/1913492/8757686/f59d2944-2d0e-11e5-905e-fd19e6694439.png)\r\n![2015-07-18 5 22 36](https://cloud.githubusercontent.com/assets/1913492/8757687/f5a151f4-2d0e-11e5-9fd3-c3994df481f5.png)\r\n","created_at":"2015-07-17T21:42:08Z","updated_at":"2015-07-21T17:30:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f399d6b41711f346c09061a885e0ee4681a5721","assignee":null,"milestone":{"url":"https://api.github.com/repos/KronicDeth/intellij-elixir/milestones/2","html_url":"https://github.com/KronicDeth/intellij-elixir/milestones/v1.1.0","labels_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/milestones/2/labels","id":826853,"number":2,"title":"v1.1.0","description":null,"creator":{"login":"KronicDeth","id":298259,"avatar_url":"https://avatars.githubusercontent.com/u/298259?v=3","gravatar_id":"","url":"https://api.github.com/users/KronicDeth","html_url":"https://github.com/KronicDeth","followers_url":"https://api.github.com/users/KronicDeth/followers","following_url":"https://api.github.com/users/KronicDeth/following{/other_user}","gists_url":"https://api.github.com/users/KronicDeth/gists{/gist_id}","starred_url":"https://api.github.com/users/KronicDeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KronicDeth/subscriptions","organizations_url":"https://api.github.com/users/KronicDeth/orgs","repos_url":"https://api.github.com/users/KronicDeth/repos","events_url":"https://api.github.com/users/KronicDeth/events{/privacy}","received_events_url":"https://api.github.com/users/KronicDeth/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":10,"state":"open","created_at":"2014-10-15T04:02:15Z","updated_at":"2015-07-21T17:29:45Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167/commits","review_comments_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167/comments","review_comment_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/issues/167/comments","statuses_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/statuses/49c0362eca0a5143b9062b2ad56328f7e681cf2f","head":{"label":"zyuyou:master","ref":"master","sha":"49c0362eca0a5143b9062b2ad56328f7e681cf2f","user":{"login":"zyuyou","id":1913492,"avatar_url":"https://avatars.githubusercontent.com/u/1913492?v=3","gravatar_id":"","url":"https://api.github.com/users/zyuyou","html_url":"https://github.com/zyuyou","followers_url":"https://api.github.com/users/zyuyou/followers","following_url":"https://api.github.com/users/zyuyou/following{/other_user}","gists_url":"https://api.github.com/users/zyuyou/gists{/gist_id}","starred_url":"https://api.github.com/users/zyuyou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyuyou/subscriptions","organizations_url":"https://api.github.com/users/zyuyou/orgs","repos_url":"https://api.github.com/users/zyuyou/repos","events_url":"https://api.github.com/users/zyuyou/events{/privacy}","received_events_url":"https://api.github.com/users/zyuyou/received_events","type":"User","site_admin":false},"repo":{"id":33077362,"name":"intellij-elixir","full_name":"zyuyou/intellij-elixir","owner":{"login":"zyuyou","id":1913492,"avatar_url":"https://avatars.githubusercontent.com/u/1913492?v=3","gravatar_id":"","url":"https://api.github.com/users/zyuyou","html_url":"https://github.com/zyuyou","followers_url":"https://api.github.com/users/zyuyou/followers","following_url":"https://api.github.com/users/zyuyou/following{/other_user}","gists_url":"https://api.github.com/users/zyuyou/gists{/gist_id}","starred_url":"https://api.github.com/users/zyuyou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyuyou/subscriptions","organizations_url":"https://api.github.com/users/zyuyou/orgs","repos_url":"https://api.github.com/users/zyuyou/repos","events_url":"https://api.github.com/users/zyuyou/events{/privacy}","received_events_url":"https://api.github.com/users/zyuyou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zyuyou/intellij-elixir","description":"Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)","fork":true,"url":"https://api.github.com/repos/zyuyou/intellij-elixir","forks_url":"https://api.github.com/repos/zyuyou/intellij-elixir/forks","keys_url":"https://api.github.com/repos/zyuyou/intellij-elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zyuyou/intellij-elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zyuyou/intellij-elixir/teams","hooks_url":"https://api.github.com/repos/zyuyou/intellij-elixir/hooks","issue_events_url":"https://api.github.com/repos/zyuyou/intellij-elixir/issues/events{/number}","events_url":"https://api.github.com/repos/zyuyou/intellij-elixir/events","assignees_url":"https://api.github.com/repos/zyuyou/intellij-elixir/assignees{/user}","branches_url":"https://api.github.com/repos/zyuyou/intellij-elixir/branches{/branch}","tags_url":"https://api.github.com/repos/zyuyou/intellij-elixir/tags","blobs_url":"https://api.github.com/repos/zyuyou/intellij-elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zyuyou/intellij-elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zyuyou/intellij-elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/zyuyou/intellij-elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zyuyou/intellij-elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/zyuyou/intellij-elixir/languages","stargazers_url":"https://api.github.com/repos/zyuyou/intellij-elixir/stargazers","contributors_url":"https://api.github.com/repos/zyuyou/intellij-elixir/contributors","subscribers_url":"https://api.github.com/repos/zyuyou/intellij-elixir/subscribers","subscription_url":"https://api.github.com/repos/zyuyou/intellij-elixir/subscription","commits_url":"https://api.github.com/repos/zyuyou/intellij-elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/zyuyou/intellij-elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/zyuyou/intellij-elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/zyuyou/intellij-elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/zyuyou/intellij-elixir/contents/{+path}","compare_url":"https://api.github.com/repos/zyuyou/intellij-elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zyuyou/intellij-elixir/merges","archive_url":"https://api.github.com/repos/zyuyou/intellij-elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zyuyou/intellij-elixir/downloads","issues_url":"https://api.github.com/repos/zyuyou/intellij-elixir/issues{/number}","pulls_url":"https://api.github.com/repos/zyuyou/intellij-elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/zyuyou/intellij-elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/zyuyou/intellij-elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zyuyou/intellij-elixir/labels{/name}","releases_url":"https://api.github.com/repos/zyuyou/intellij-elixir/releases{/id}","created_at":"2015-03-29T15:05:57Z","updated_at":"2015-03-29T15:05:59Z","pushed_at":"2015-07-21T16:27:27Z","git_url":"git://github.com/zyuyou/intellij-elixir.git","ssh_url":"git@github.com:zyuyou/intellij-elixir.git","clone_url":"https://github.com/zyuyou/intellij-elixir.git","svn_url":"https://github.com/zyuyou/intellij-elixir","homepage":null,"size":26102,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"KronicDeth:master","ref":"master","sha":"412f8c1fbdeb260e19618888984554cdba233010","user":{"login":"KronicDeth","id":298259,"avatar_url":"https://avatars.githubusercontent.com/u/298259?v=3","gravatar_id":"","url":"https://api.github.com/users/KronicDeth","html_url":"https://github.com/KronicDeth","followers_url":"https://api.github.com/users/KronicDeth/followers","following_url":"https://api.github.com/users/KronicDeth/following{/other_user}","gists_url":"https://api.github.com/users/KronicDeth/gists{/gist_id}","starred_url":"https://api.github.com/users/KronicDeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KronicDeth/subscriptions","organizations_url":"https://api.github.com/users/KronicDeth/orgs","repos_url":"https://api.github.com/users/KronicDeth/repos","events_url":"https://api.github.com/users/KronicDeth/events{/privacy}","received_events_url":"https://api.github.com/users/KronicDeth/received_events","type":"User","site_admin":false},"repo":{"id":22329177,"name":"intellij-elixir","full_name":"KronicDeth/intellij-elixir","owner":{"login":"KronicDeth","id":298259,"avatar_url":"https://avatars.githubusercontent.com/u/298259?v=3","gravatar_id":"","url":"https://api.github.com/users/KronicDeth","html_url":"https://github.com/KronicDeth","followers_url":"https://api.github.com/users/KronicDeth/followers","following_url":"https://api.github.com/users/KronicDeth/following{/other_user}","gists_url":"https://api.github.com/users/KronicDeth/gists{/gist_id}","starred_url":"https://api.github.com/users/KronicDeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KronicDeth/subscriptions","organizations_url":"https://api.github.com/users/KronicDeth/orgs","repos_url":"https://api.github.com/users/KronicDeth/repos","events_url":"https://api.github.com/users/KronicDeth/events{/privacy}","received_events_url":"https://api.github.com/users/KronicDeth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KronicDeth/intellij-elixir","description":"Elixir plugin for JetBrain's IntelliJ Platform (including Rubymine)","fork":false,"url":"https://api.github.com/repos/KronicDeth/intellij-elixir","forks_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/forks","keys_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/teams","hooks_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/hooks","issue_events_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/issues/events{/number}","events_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/events","assignees_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/assignees{/user}","branches_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/branches{/branch}","tags_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/tags","blobs_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/statuses/{sha}","languages_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/languages","stargazers_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/stargazers","contributors_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/contributors","subscribers_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/subscribers","subscription_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/subscription","commits_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/contents/{+path}","compare_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/merges","archive_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/downloads","issues_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/issues{/number}","pulls_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls{/number}","milestones_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/milestones{/number}","notifications_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/labels{/name}","releases_url":"https://api.github.com/repos/KronicDeth/intellij-elixir/releases{/id}","created_at":"2014-07-28T03:09:05Z","updated_at":"2015-07-21T04:23:42Z","pushed_at":"2015-07-21T17:29:44Z","git_url":"git://github.com/KronicDeth/intellij-elixir.git","ssh_url":"git@github.com:KronicDeth/intellij-elixir.git","clone_url":"https://github.com/KronicDeth/intellij-elixir.git","svn_url":"https://github.com/KronicDeth/intellij-elixir","homepage":null,"size":27166,"stargazers_count":98,"watchers_count":98,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":34,"forks":9,"open_issues":34,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167"},"html":{"href":"https://github.com/KronicDeth/intellij-elixir/pull/167"},"issue":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/issues/167"},"comments":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/KronicDeth/intellij-elixir/statuses/49c0362eca0a5143b9062b2ad56328f7e681cf2f"}}}}