{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/12","id":198189488,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTg5NDg4","html_url":"https://github.com/swingexplorer/swingexplorer/pull/12","diff_url":"https://github.com/swingexplorer/swingexplorer/pull/12.diff","patch_url":"https://github.com/swingexplorer/swingexplorer/pull/12.patch","issue_url":"https://api.github.com/repos/swingexplorer/swingexplorer/issues/12","number":12,"state":"open","locked":false,"title":"Launcher scripts and distribution files","user":{"login":"apjanke","id":2618447,"node_id":"MDQ6VXNlcjI2MTg0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2618447?v=4","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"body":"Depends on #11.\r\n\r\nThis PR adds a `swexpl` command line tool, and a `make_dist` script that produces distribution archives (tarball and zip files).\r\n\r\nThe `swexpl` command works like this:\r\n\r\n```\r\nswexpl [--agent] -cp <classpath> <mainclass>\r\n```\r\n\r\nWhere `<classpath>` is just the user's program's JARs, and `<mainclass>` is their main class. The `swexpl` tool takes care of locating `java`, adding the Swing Explorer & dependency JARs to the right path, and calling `org.swingexplorer.Launcher`.\r\n\r\nThe `swexpl` command is processed as part of creating the distribution, so the right Swing Explorer version can be included in the script.\r\n\r\nThe distribution archives include the Swing Explorer JARs, all its dependency JARs, the `bin` dir that includes `swexpl`, and the documentation that is in the repo.\r\n\r\nI have tested `swexpl` on macOS; I believe it will also work on Linux and Cygwin. (Need to test those, too.)\r\n\r\n##  Questions\r\n\r\nShould `--agent` be the default, maybe, since that includes functionality that would be nice for all users to have? Instead, we could supply a `--no-agent` argument for the unusual case where the user doesn't want to run the agent or is encountering problems with it.","created_at":"2018-06-29T00:51:21Z","updated_at":"2018-06-29T00:51:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/12/commits","review_comments_url":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/12/comments","review_comment_url":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swingexplorer/swingexplorer/issues/12/comments","statuses_url":"https://api.github.com/repos/swingexplorer/swingexplorer/statuses/93de2e1ff4472c5713b6205ec96d84e7a73f2d73","head":{"label":"apjanke:launcher-scripts","ref":"launcher-scripts","sha":"93de2e1ff4472c5713b6205ec96d84e7a73f2d73","user":{"login":"apjanke","id":2618447,"node_id":"MDQ6VXNlcjI2MTg0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2618447?v=4","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"repo":{"id":138925902,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg5MjU5MDI=","name":"swingexplorer","full_name":"apjanke/swingexplorer","owner":{"login":"apjanke","id":2618447,"node_id":"MDQ6VXNlcjI2MTg0NDc=","avatar_url":"https://avatars2.githubusercontent.com/u/2618447?v=4","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apjanke/swingexplorer","description":"Core files of Swing Explorer tool","fork":true,"url":"https://api.github.com/repos/apjanke/swingexplorer","forks_url":"https://api.github.com/repos/apjanke/swingexplorer/forks","keys_url":"https://api.github.com/repos/apjanke/swingexplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apjanke/swingexplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apjanke/swingexplorer/teams","hooks_url":"https://api.github.com/repos/apjanke/swingexplorer/hooks","issue_events_url":"https://api.github.com/repos/apjanke/swingexplorer/issues/events{/number}","events_url":"https://api.github.com/repos/apjanke/swingexplorer/events","assignees_url":"https://api.github.com/repos/apjanke/swingexplorer/assignees{/user}","branches_url":"https://api.github.com/repos/apjanke/swingexplorer/branches{/branch}","tags_url":"https://api.github.com/repos/apjanke/swingexplorer/tags","blobs_url":"https://api.github.com/repos/apjanke/swingexplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apjanke/swingexplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apjanke/swingexplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/apjanke/swingexplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apjanke/swingexplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/apjanke/swingexplorer/languages","stargazers_url":"https://api.github.com/repos/apjanke/swingexplorer/stargazers","contributors_url":"https://api.github.com/repos/apjanke/swingexplorer/contributors","subscribers_url":"https://api.github.com/repos/apjanke/swingexplorer/subscribers","subscription_url":"https://api.github.com/repos/apjanke/swingexplorer/subscription","commits_url":"https://api.github.com/repos/apjanke/swingexplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/apjanke/swingexplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/apjanke/swingexplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/apjanke/swingexplorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/apjanke/swingexplorer/contents/{+path}","compare_url":"https://api.github.com/repos/apjanke/swingexplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apjanke/swingexplorer/merges","archive_url":"https://api.github.com/repos/apjanke/swingexplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apjanke/swingexplorer/downloads","issues_url":"https://api.github.com/repos/apjanke/swingexplorer/issues{/number}","pulls_url":"https://api.github.com/repos/apjanke/swingexplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/apjanke/swingexplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/apjanke/swingexplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apjanke/swingexplorer/labels{/name}","releases_url":"https://api.github.com/repos/apjanke/swingexplorer/releases{/id}","deployments_url":"https://api.github.com/repos/apjanke/swingexplorer/deployments","created_at":"2018-06-27T19:45:54Z","updated_at":"2018-06-27T19:45:56Z","pushed_at":"2018-06-29T00:45:09Z","git_url":"git://github.com/apjanke/swingexplorer.git","ssh_url":"git@github.com:apjanke/swingexplorer.git","clone_url":"https://github.com/apjanke/swingexplorer.git","svn_url":"https://github.com/apjanke/swingexplorer","homepage":null,"size":546,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swingexplorer:master","ref":"master","sha":"bfbf1434433023855a086a402d94d7454a040d05","user":{"login":"swingexplorer","id":40040896,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDQwODk2","avatar_url":"https://avatars0.githubusercontent.com/u/40040896?v=4","gravatar_id":"","url":"https://api.github.com/users/swingexplorer","html_url":"https://github.com/swingexplorer","followers_url":"https://api.github.com/users/swingexplorer/followers","following_url":"https://api.github.com/users/swingexplorer/following{/other_user}","gists_url":"https://api.github.com/users/swingexplorer/gists{/gist_id}","starred_url":"https://api.github.com/users/swingexplorer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swingexplorer/subscriptions","organizations_url":"https://api.github.com/users/swingexplorer/orgs","repos_url":"https://api.github.com/users/swingexplorer/repos","events_url":"https://api.github.com/users/swingexplorer/events{/privacy}","received_events_url":"https://api.github.com/users/swingexplorer/received_events","type":"Organization","site_admin":false},"repo":{"id":136523531,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY1MjM1MzE=","name":"swingexplorer","full_name":"swingexplorer/swingexplorer","owner":{"login":"swingexplorer","id":40040896,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDQwODk2","avatar_url":"https://avatars0.githubusercontent.com/u/40040896?v=4","gravatar_id":"","url":"https://api.github.com/users/swingexplorer","html_url":"https://github.com/swingexplorer","followers_url":"https://api.github.com/users/swingexplorer/followers","following_url":"https://api.github.com/users/swingexplorer/following{/other_user}","gists_url":"https://api.github.com/users/swingexplorer/gists{/gist_id}","starred_url":"https://api.github.com/users/swingexplorer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swingexplorer/subscriptions","organizations_url":"https://api.github.com/users/swingexplorer/orgs","repos_url":"https://api.github.com/users/swingexplorer/repos","events_url":"https://api.github.com/users/swingexplorer/events{/privacy}","received_events_url":"https://api.github.com/users/swingexplorer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/swingexplorer/swingexplorer","description":"Core files of Swing Explorer tool","fork":false,"url":"https://api.github.com/repos/swingexplorer/swingexplorer","forks_url":"https://api.github.com/repos/swingexplorer/swingexplorer/forks","keys_url":"https://api.github.com/repos/swingexplorer/swingexplorer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swingexplorer/swingexplorer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swingexplorer/swingexplorer/teams","hooks_url":"https://api.github.com/repos/swingexplorer/swingexplorer/hooks","issue_events_url":"https://api.github.com/repos/swingexplorer/swingexplorer/issues/events{/number}","events_url":"https://api.github.com/repos/swingexplorer/swingexplorer/events","assignees_url":"https://api.github.com/repos/swingexplorer/swingexplorer/assignees{/user}","branches_url":"https://api.github.com/repos/swingexplorer/swingexplorer/branches{/branch}","tags_url":"https://api.github.com/repos/swingexplorer/swingexplorer/tags","blobs_url":"https://api.github.com/repos/swingexplorer/swingexplorer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swingexplorer/swingexplorer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swingexplorer/swingexplorer/git/refs{/sha}","trees_url":"https://api.github.com/repos/swingexplorer/swingexplorer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swingexplorer/swingexplorer/statuses/{sha}","languages_url":"https://api.github.com/repos/swingexplorer/swingexplorer/languages","stargazers_url":"https://api.github.com/repos/swingexplorer/swingexplorer/stargazers","contributors_url":"https://api.github.com/repos/swingexplorer/swingexplorer/contributors","subscribers_url":"https://api.github.com/repos/swingexplorer/swingexplorer/subscribers","subscription_url":"https://api.github.com/repos/swingexplorer/swingexplorer/subscription","commits_url":"https://api.github.com/repos/swingexplorer/swingexplorer/commits{/sha}","git_commits_url":"https://api.github.com/repos/swingexplorer/swingexplorer/git/commits{/sha}","comments_url":"https://api.github.com/repos/swingexplorer/swingexplorer/comments{/number}","issue_comment_url":"https://api.github.com/repos/swingexplorer/swingexplorer/issues/comments{/number}","contents_url":"https://api.github.com/repos/swingexplorer/swingexplorer/contents/{+path}","compare_url":"https://api.github.com/repos/swingexplorer/swingexplorer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swingexplorer/swingexplorer/merges","archive_url":"https://api.github.com/repos/swingexplorer/swingexplorer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swingexplorer/swingexplorer/downloads","issues_url":"https://api.github.com/repos/swingexplorer/swingexplorer/issues{/number}","pulls_url":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls{/number}","milestones_url":"https://api.github.com/repos/swingexplorer/swingexplorer/milestones{/number}","notifications_url":"https://api.github.com/repos/swingexplorer/swingexplorer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swingexplorer/swingexplorer/labels{/name}","releases_url":"https://api.github.com/repos/swingexplorer/swingexplorer/releases{/id}","deployments_url":"https://api.github.com/repos/swingexplorer/swingexplorer/deployments","created_at":"2018-06-07T19:45:30Z","updated_at":"2018-06-21T18:24:47Z","pushed_at":"2018-06-28T22:56:28Z","git_url":"git://github.com/swingexplorer/swingexplorer.git","ssh_url":"git@github.com:swingexplorer/swingexplorer.git","clone_url":"https://github.com/swingexplorer/swingexplorer.git","svn_url":"https://github.com/swingexplorer/swingexplorer","homepage":null,"size":545,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":1,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/12"},"html":{"href":"https://github.com/swingexplorer/swingexplorer/pull/12"},"issue":{"href":"https://api.github.com/repos/swingexplorer/swingexplorer/issues/12"},"comments":{"href":"https://api.github.com/repos/swingexplorer/swingexplorer/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swingexplorer/swingexplorer/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/swingexplorer/swingexplorer/statuses/93de2e1ff4472c5713b6205ec96d84e7a73f2d73"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":267,"deletions":45,"changed_files":10}}
{"actor":{"display_login":"apjanke"}}