{"action":"created","comment":{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/comments/61567580","id":61567580,"diff_hunk":"@@ -0,0 +1,39 @@\n+import java.io {\n+    File,\n+    FileOutputStream,\n+    PrintWriter\n+}\n+\n+native class FileFacade(String path) satisfies Destroyable {","path":"source/ceylon/test/engine/internal/file.ceylon","position":7,"original_position":7,"commit_id":"0a91eb209e1ab3952e6f15ed6e47a876f8c37181","original_commit_id":"0a91eb209e1ab3952e6f15ed6e47a876f8c37181","user":{"login":"lucaswerkmeister","id":2346599,"avatar_url":"https://avatars.githubusercontent.com/u/2346599?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswerkmeister","html_url":"https://github.com/lucaswerkmeister","followers_url":"https://api.github.com/users/lucaswerkmeister/followers","following_url":"https://api.github.com/users/lucaswerkmeister/following{/other_user}","gists_url":"https://api.github.com/users/lucaswerkmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswerkmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswerkmeister/subscriptions","organizations_url":"https://api.github.com/users/lucaswerkmeister/orgs","repos_url":"https://api.github.com/users/lucaswerkmeister/repos","events_url":"https://api.github.com/users/lucaswerkmeister/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswerkmeister/received_events","type":"User","site_admin":false},"body":"Or, put differently: Would you mind if I change the facade to a class, and moved it to `file.ceylon`? I think the first change would make it cleaner, and the second change would avoid that someone else makes the same mistake as me in the future :)","created_at":"2016-04-29T12:14:56Z","updated_at":"2016-04-29T12:14:56Z","html_url":"https://github.com/ceylon/ceylon-sdk/pull/565#discussion_r61567580","pull_request_url":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565","_links":{"self":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/comments/61567580"},"html":{"href":"https://github.com/ceylon/ceylon-sdk/pull/565#discussion_r61567580"},"pull_request":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565"}}},"pull_request":{"url":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565","id":68285582,"html_url":"https://github.com/ceylon/ceylon-sdk/pull/565","diff_url":"https://github.com/ceylon/ceylon-sdk/pull/565.diff","patch_url":"https://github.com/ceylon/ceylon-sdk/pull/565.patch","issue_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/565","number":565,"state":"open","locked":false,"title":"Add support for writing the TAP report to a file","user":{"login":"lucaswerkmeister","id":2346599,"avatar_url":"https://avatars.githubusercontent.com/u/2346599?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswerkmeister","html_url":"https://github.com/lucaswerkmeister","followers_url":"https://api.github.com/users/lucaswerkmeister/followers","following_url":"https://api.github.com/users/lucaswerkmeister/following{/other_user}","gists_url":"https://api.github.com/users/lucaswerkmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswerkmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswerkmeister/subscriptions","organizations_url":"https://api.github.com/users/lucaswerkmeister/orgs","repos_url":"https://api.github.com/users/lucaswerkmeister/repos","events_url":"https://api.github.com/users/lucaswerkmeister/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswerkmeister/received_events","type":"User","site_admin":false},"body":"The `--tap` flag is changed to be an option, `--tap=filename`. Printing to standard output is still supported by using the file name `-` (dash).\r\n\r\n(The file facade should eventually be replaced by using ceylon.file, once #239 is implemented.)\r\n\r\n---\r\n\r\n@bjansen this should make it easier to use the Jenkins TAP plugin with ceylon.formatter…","created_at":"2016-04-28T20:33:05Z","updated_at":"2016-04-29T12:14:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07d8890905bb0c7538c41c1f508cbf1d5e654938","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565/commits","review_comments_url":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565/comments","review_comment_url":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/565/comments","statuses_url":"https://api.github.com/repos/ceylon/ceylon-sdk/statuses/0a91eb209e1ab3952e6f15ed6e47a876f8c37181","head":{"label":"lucaswerkmeister:tapFile","ref":"tapFile","sha":"0a91eb209e1ab3952e6f15ed6e47a876f8c37181","user":{"login":"lucaswerkmeister","id":2346599,"avatar_url":"https://avatars.githubusercontent.com/u/2346599?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswerkmeister","html_url":"https://github.com/lucaswerkmeister","followers_url":"https://api.github.com/users/lucaswerkmeister/followers","following_url":"https://api.github.com/users/lucaswerkmeister/following{/other_user}","gists_url":"https://api.github.com/users/lucaswerkmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswerkmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswerkmeister/subscriptions","organizations_url":"https://api.github.com/users/lucaswerkmeister/orgs","repos_url":"https://api.github.com/users/lucaswerkmeister/repos","events_url":"https://api.github.com/users/lucaswerkmeister/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswerkmeister/received_events","type":"User","site_admin":false},"repo":{"id":13902698,"name":"ceylon-sdk","full_name":"lucaswerkmeister/ceylon-sdk","owner":{"login":"lucaswerkmeister","id":2346599,"avatar_url":"https://avatars.githubusercontent.com/u/2346599?v=3","gravatar_id":"","url":"https://api.github.com/users/lucaswerkmeister","html_url":"https://github.com/lucaswerkmeister","followers_url":"https://api.github.com/users/lucaswerkmeister/followers","following_url":"https://api.github.com/users/lucaswerkmeister/following{/other_user}","gists_url":"https://api.github.com/users/lucaswerkmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/lucaswerkmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucaswerkmeister/subscriptions","organizations_url":"https://api.github.com/users/lucaswerkmeister/orgs","repos_url":"https://api.github.com/users/lucaswerkmeister/repos","events_url":"https://api.github.com/users/lucaswerkmeister/events{/privacy}","received_events_url":"https://api.github.com/users/lucaswerkmeister/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucaswerkmeister/ceylon-sdk","description":"Standard platform modules belonging to the Ceylon SDK","fork":true,"url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk","forks_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/forks","keys_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/teams","hooks_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/hooks","issue_events_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/events","assignees_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/tags","blobs_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/languages","stargazers_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/stargazers","contributors_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/contributors","subscribers_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/subscribers","subscription_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/subscription","commits_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/merges","archive_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/downloads","issues_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/labels{/name}","releases_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/lucaswerkmeister/ceylon-sdk/deployments","created_at":"2013-10-27T14:40:08Z","updated_at":"2014-07-09T19:30:42Z","pushed_at":"2016-04-28T20:32:00Z","git_url":"git://github.com/lucaswerkmeister/ceylon-sdk.git","ssh_url":"git@github.com:lucaswerkmeister/ceylon-sdk.git","clone_url":"https://github.com/lucaswerkmeister/ceylon-sdk.git","svn_url":"https://github.com/lucaswerkmeister/ceylon-sdk","homepage":"http://www.ceylon-lang.org","size":7667,"stargazers_count":0,"watchers_count":0,"language":"Ceylon","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":"ceylon:master","ref":"master","sha":"013ec7b0a06de1acbf8ab5c24f9b96ddde9782da","user":{"login":"ceylon","id":579261,"avatar_url":"https://avatars.githubusercontent.com/u/579261?v=3","gravatar_id":"","url":"https://api.github.com/users/ceylon","html_url":"https://github.com/ceylon","followers_url":"https://api.github.com/users/ceylon/followers","following_url":"https://api.github.com/users/ceylon/following{/other_user}","gists_url":"https://api.github.com/users/ceylon/gists{/gist_id}","starred_url":"https://api.github.com/users/ceylon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceylon/subscriptions","organizations_url":"https://api.github.com/users/ceylon/orgs","repos_url":"https://api.github.com/users/ceylon/repos","events_url":"https://api.github.com/users/ceylon/events{/privacy}","received_events_url":"https://api.github.com/users/ceylon/received_events","type":"Organization","site_admin":false},"repo":{"id":3843392,"name":"ceylon-sdk","full_name":"ceylon/ceylon-sdk","owner":{"login":"ceylon","id":579261,"avatar_url":"https://avatars.githubusercontent.com/u/579261?v=3","gravatar_id":"","url":"https://api.github.com/users/ceylon","html_url":"https://github.com/ceylon","followers_url":"https://api.github.com/users/ceylon/followers","following_url":"https://api.github.com/users/ceylon/following{/other_user}","gists_url":"https://api.github.com/users/ceylon/gists{/gist_id}","starred_url":"https://api.github.com/users/ceylon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceylon/subscriptions","organizations_url":"https://api.github.com/users/ceylon/orgs","repos_url":"https://api.github.com/users/ceylon/repos","events_url":"https://api.github.com/users/ceylon/events{/privacy}","received_events_url":"https://api.github.com/users/ceylon/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ceylon/ceylon-sdk","description":"Standard platform modules belonging to the Ceylon SDK","fork":false,"url":"https://api.github.com/repos/ceylon/ceylon-sdk","forks_url":"https://api.github.com/repos/ceylon/ceylon-sdk/forks","keys_url":"https://api.github.com/repos/ceylon/ceylon-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ceylon/ceylon-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ceylon/ceylon-sdk/teams","hooks_url":"https://api.github.com/repos/ceylon/ceylon-sdk/hooks","issue_events_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/ceylon/ceylon-sdk/events","assignees_url":"https://api.github.com/repos/ceylon/ceylon-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/ceylon/ceylon-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/ceylon/ceylon-sdk/tags","blobs_url":"https://api.github.com/repos/ceylon/ceylon-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ceylon/ceylon-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ceylon/ceylon-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/ceylon/ceylon-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ceylon/ceylon-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/ceylon/ceylon-sdk/languages","stargazers_url":"https://api.github.com/repos/ceylon/ceylon-sdk/stargazers","contributors_url":"https://api.github.com/repos/ceylon/ceylon-sdk/contributors","subscribers_url":"https://api.github.com/repos/ceylon/ceylon-sdk/subscribers","subscription_url":"https://api.github.com/repos/ceylon/ceylon-sdk/subscription","commits_url":"https://api.github.com/repos/ceylon/ceylon-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/ceylon/ceylon-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/ceylon/ceylon-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/ceylon/ceylon-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/ceylon/ceylon-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ceylon/ceylon-sdk/merges","archive_url":"https://api.github.com/repos/ceylon/ceylon-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ceylon/ceylon-sdk/downloads","issues_url":"https://api.github.com/repos/ceylon/ceylon-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/ceylon/ceylon-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/ceylon/ceylon-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ceylon/ceylon-sdk/labels{/name}","releases_url":"https://api.github.com/repos/ceylon/ceylon-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/ceylon/ceylon-sdk/deployments","created_at":"2012-03-27T12:18:36Z","updated_at":"2016-04-14T04:59:35Z","pushed_at":"2016-04-28T20:33:05Z","git_url":"git://github.com/ceylon/ceylon-sdk.git","ssh_url":"git@github.com:ceylon/ceylon-sdk.git","clone_url":"https://github.com/ceylon/ceylon-sdk.git","svn_url":"https://github.com/ceylon/ceylon-sdk","homepage":"http://www.ceylon-lang.org","size":9009,"stargazers_count":64,"watchers_count":64,"language":"Ceylon","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":101,"forks":47,"open_issues":101,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565"},"html":{"href":"https://github.com/ceylon/ceylon-sdk/pull/565"},"issue":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/565"},"comments":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/issues/565/comments"},"review_comments":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565/comments"},"review_comment":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/pulls/565/commits"},"statuses":{"href":"https://api.github.com/repos/ceylon/ceylon-sdk/statuses/0a91eb209e1ab3952e6f15ed6e47a876f8c37181"}}}}