{"action":"created","comment":{"url":"https://api.github.com/repos/bndtools/bndtools/pulls/comments/77881271","id":77881271,"diff_hunk":"@@ -57,8 +57,14 @@ protected boolean validatePage() {\n         IResource container = ResourcesPlugin.getWorkspace().getRoot().findMember(containerPath);\n         IProject project = container.getProject();\n \n-        if (Project.BNDFILE.equalsIgnoreCase(fileName)) {\n-            error = Messages.NewBndFileWizardPage_errorReservedFilename;\n+        try {\n+            if (project.hasNature(BndtoolsConstants.NATURE_ID)) {\n+                if (Project.BNDFILE.equalsIgnoreCase(fileName)) {\n+                    error = Messages.NewBndFileWizardPage_errorReservedFilename;","path":"bndtools.core/src/bndtools/wizards/bndfile/NewBndFileWizardPage.java","position":9,"original_position":9,"commit_id":"935a15cda83eece513b7a959449d4ad01f01cb8d","original_commit_id":"88248333855513e87035a943f77dfacf7ef30323","user":{"login":"seanbright","id":114601,"avatar_url":"https://avatars.githubusercontent.com/u/114601?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbright","html_url":"https://github.com/seanbright","followers_url":"https://api.github.com/users/seanbright/followers","following_url":"https://api.github.com/users/seanbright/following{/other_user}","gists_url":"https://api.github.com/users/seanbright/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbright/subscriptions","organizations_url":"https://api.github.com/users/seanbright/orgs","repos_url":"https://api.github.com/users/seanbright/repos","events_url":"https://api.github.com/users/seanbright/events{/privacy}","received_events_url":"https://api.github.com/users/seanbright/received_events","type":"User","site_admin":false},"body":"`bndtools.wizards.bndfile.NewBndFileWizardPage` - You really won't see it unless you are try to add  a `bnd.bnd` file to a non-Bndtools project. Easy enough to change to something more friendly if you have any ideas?","created_at":"2016-09-07T18:46:13Z","updated_at":"2016-09-07T18:46:13Z","html_url":"https://github.com/bndtools/bndtools/pull/1526#discussion_r77881271","pull_request_url":"https://api.github.com/repos/bndtools/bndtools/pulls/1526","_links":{"self":{"href":"https://api.github.com/repos/bndtools/bndtools/pulls/comments/77881271"},"html":{"href":"https://github.com/bndtools/bndtools/pull/1526#discussion_r77881271"},"pull_request":{"href":"https://api.github.com/repos/bndtools/bndtools/pulls/1526"}}},"pull_request":{"url":"https://api.github.com/repos/bndtools/bndtools/pulls/1526","id":84339262,"html_url":"https://github.com/bndtools/bndtools/pull/1526","diff_url":"https://github.com/bndtools/bndtools/pull/1526.diff","patch_url":"https://github.com/bndtools/bndtools/pull/1526.patch","issue_url":"https://api.github.com/repos/bndtools/bndtools/issues/1526","number":1526,"state":"open","locked":false,"title":"Allow creation of bnd.bnd in non-Bndtools projects","user":{"login":"seanbright","id":114601,"avatar_url":"https://avatars.githubusercontent.com/u/114601?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbright","html_url":"https://github.com/seanbright","followers_url":"https://api.github.com/users/seanbright/followers","following_url":"https://api.github.com/users/seanbright/following{/other_user}","gists_url":"https://api.github.com/users/seanbright/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbright/subscriptions","organizations_url":"https://api.github.com/users/seanbright/orgs","repos_url":"https://api.github.com/users/seanbright/repos","events_url":"https://api.github.com/users/seanbright/events{/privacy}","received_events_url":"https://api.github.com/users/seanbright/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-09-07T17:11:14Z","updated_at":"2016-09-07T18:46:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fe435d7995ab2cf829fe60b58becf7e8b1e279a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bndtools/bndtools/pulls/1526/commits","review_comments_url":"https://api.github.com/repos/bndtools/bndtools/pulls/1526/comments","review_comment_url":"https://api.github.com/repos/bndtools/bndtools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bndtools/bndtools/issues/1526/comments","statuses_url":"https://api.github.com/repos/bndtools/bndtools/statuses/935a15cda83eece513b7a959449d4ad01f01cb8d","head":{"label":"seanbright:bnd-bnd-reserved","ref":"bnd-bnd-reserved","sha":"935a15cda83eece513b7a959449d4ad01f01cb8d","user":{"login":"seanbright","id":114601,"avatar_url":"https://avatars.githubusercontent.com/u/114601?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbright","html_url":"https://github.com/seanbright","followers_url":"https://api.github.com/users/seanbright/followers","following_url":"https://api.github.com/users/seanbright/following{/other_user}","gists_url":"https://api.github.com/users/seanbright/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbright/subscriptions","organizations_url":"https://api.github.com/users/seanbright/orgs","repos_url":"https://api.github.com/users/seanbright/repos","events_url":"https://api.github.com/users/seanbright/events{/privacy}","received_events_url":"https://api.github.com/users/seanbright/received_events","type":"User","site_admin":false},"repo":{"id":28923971,"name":"bndtools","full_name":"seanbright/bndtools","owner":{"login":"seanbright","id":114601,"avatar_url":"https://avatars.githubusercontent.com/u/114601?v=3","gravatar_id":"","url":"https://api.github.com/users/seanbright","html_url":"https://github.com/seanbright","followers_url":"https://api.github.com/users/seanbright/followers","following_url":"https://api.github.com/users/seanbright/following{/other_user}","gists_url":"https://api.github.com/users/seanbright/gists{/gist_id}","starred_url":"https://api.github.com/users/seanbright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanbright/subscriptions","organizations_url":"https://api.github.com/users/seanbright/orgs","repos_url":"https://api.github.com/users/seanbright/repos","events_url":"https://api.github.com/users/seanbright/events{/privacy}","received_events_url":"https://api.github.com/users/seanbright/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seanbright/bndtools","description":"Eclipse tools for developing OSGi bundles","fork":true,"url":"https://api.github.com/repos/seanbright/bndtools","forks_url":"https://api.github.com/repos/seanbright/bndtools/forks","keys_url":"https://api.github.com/repos/seanbright/bndtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seanbright/bndtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seanbright/bndtools/teams","hooks_url":"https://api.github.com/repos/seanbright/bndtools/hooks","issue_events_url":"https://api.github.com/repos/seanbright/bndtools/issues/events{/number}","events_url":"https://api.github.com/repos/seanbright/bndtools/events","assignees_url":"https://api.github.com/repos/seanbright/bndtools/assignees{/user}","branches_url":"https://api.github.com/repos/seanbright/bndtools/branches{/branch}","tags_url":"https://api.github.com/repos/seanbright/bndtools/tags","blobs_url":"https://api.github.com/repos/seanbright/bndtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seanbright/bndtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seanbright/bndtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/seanbright/bndtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seanbright/bndtools/statuses/{sha}","languages_url":"https://api.github.com/repos/seanbright/bndtools/languages","stargazers_url":"https://api.github.com/repos/seanbright/bndtools/stargazers","contributors_url":"https://api.github.com/repos/seanbright/bndtools/contributors","subscribers_url":"https://api.github.com/repos/seanbright/bndtools/subscribers","subscription_url":"https://api.github.com/repos/seanbright/bndtools/subscription","commits_url":"https://api.github.com/repos/seanbright/bndtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/seanbright/bndtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/seanbright/bndtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/seanbright/bndtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/seanbright/bndtools/contents/{+path}","compare_url":"https://api.github.com/repos/seanbright/bndtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seanbright/bndtools/merges","archive_url":"https://api.github.com/repos/seanbright/bndtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seanbright/bndtools/downloads","issues_url":"https://api.github.com/repos/seanbright/bndtools/issues{/number}","pulls_url":"https://api.github.com/repos/seanbright/bndtools/pulls{/number}","milestones_url":"https://api.github.com/repos/seanbright/bndtools/milestones{/number}","notifications_url":"https://api.github.com/repos/seanbright/bndtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seanbright/bndtools/labels{/name}","releases_url":"https://api.github.com/repos/seanbright/bndtools/releases{/id}","deployments_url":"https://api.github.com/repos/seanbright/bndtools/deployments","created_at":"2015-01-07T16:54:05Z","updated_at":"2016-01-12T16:03:22Z","pushed_at":"2016-09-07T17:11:14Z","git_url":"git://github.com/seanbright/bndtools.git","ssh_url":"git@github.com:seanbright/bndtools.git","clone_url":"https://github.com/seanbright/bndtools.git","svn_url":"https://github.com/seanbright/bndtools","homepage":"http://bndtools.org","size":424836,"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":"bndtools:master","ref":"master","sha":"89c12e62c9f50397085dfc8b52f7143027ad7f59","user":{"login":"bndtools","id":1130828,"avatar_url":"https://avatars.githubusercontent.com/u/1130828?v=3","gravatar_id":"","url":"https://api.github.com/users/bndtools","html_url":"https://github.com/bndtools","followers_url":"https://api.github.com/users/bndtools/followers","following_url":"https://api.github.com/users/bndtools/following{/other_user}","gists_url":"https://api.github.com/users/bndtools/gists{/gist_id}","starred_url":"https://api.github.com/users/bndtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bndtools/subscriptions","organizations_url":"https://api.github.com/users/bndtools/orgs","repos_url":"https://api.github.com/users/bndtools/repos","events_url":"https://api.github.com/users/bndtools/events{/privacy}","received_events_url":"https://api.github.com/users/bndtools/received_events","type":"Organization","site_admin":false},"repo":{"id":128476,"name":"bndtools","full_name":"bndtools/bndtools","owner":{"login":"bndtools","id":1130828,"avatar_url":"https://avatars.githubusercontent.com/u/1130828?v=3","gravatar_id":"","url":"https://api.github.com/users/bndtools","html_url":"https://github.com/bndtools","followers_url":"https://api.github.com/users/bndtools/followers","following_url":"https://api.github.com/users/bndtools/following{/other_user}","gists_url":"https://api.github.com/users/bndtools/gists{/gist_id}","starred_url":"https://api.github.com/users/bndtools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bndtools/subscriptions","organizations_url":"https://api.github.com/users/bndtools/orgs","repos_url":"https://api.github.com/users/bndtools/repos","events_url":"https://api.github.com/users/bndtools/events{/privacy}","received_events_url":"https://api.github.com/users/bndtools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bndtools/bndtools","description":"Eclipse tools for developing OSGi bundles","fork":false,"url":"https://api.github.com/repos/bndtools/bndtools","forks_url":"https://api.github.com/repos/bndtools/bndtools/forks","keys_url":"https://api.github.com/repos/bndtools/bndtools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bndtools/bndtools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bndtools/bndtools/teams","hooks_url":"https://api.github.com/repos/bndtools/bndtools/hooks","issue_events_url":"https://api.github.com/repos/bndtools/bndtools/issues/events{/number}","events_url":"https://api.github.com/repos/bndtools/bndtools/events","assignees_url":"https://api.github.com/repos/bndtools/bndtools/assignees{/user}","branches_url":"https://api.github.com/repos/bndtools/bndtools/branches{/branch}","tags_url":"https://api.github.com/repos/bndtools/bndtools/tags","blobs_url":"https://api.github.com/repos/bndtools/bndtools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bndtools/bndtools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bndtools/bndtools/git/refs{/sha}","trees_url":"https://api.github.com/repos/bndtools/bndtools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bndtools/bndtools/statuses/{sha}","languages_url":"https://api.github.com/repos/bndtools/bndtools/languages","stargazers_url":"https://api.github.com/repos/bndtools/bndtools/stargazers","contributors_url":"https://api.github.com/repos/bndtools/bndtools/contributors","subscribers_url":"https://api.github.com/repos/bndtools/bndtools/subscribers","subscription_url":"https://api.github.com/repos/bndtools/bndtools/subscription","commits_url":"https://api.github.com/repos/bndtools/bndtools/commits{/sha}","git_commits_url":"https://api.github.com/repos/bndtools/bndtools/git/commits{/sha}","comments_url":"https://api.github.com/repos/bndtools/bndtools/comments{/number}","issue_comment_url":"https://api.github.com/repos/bndtools/bndtools/issues/comments{/number}","contents_url":"https://api.github.com/repos/bndtools/bndtools/contents/{+path}","compare_url":"https://api.github.com/repos/bndtools/bndtools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bndtools/bndtools/merges","archive_url":"https://api.github.com/repos/bndtools/bndtools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bndtools/bndtools/downloads","issues_url":"https://api.github.com/repos/bndtools/bndtools/issues{/number}","pulls_url":"https://api.github.com/repos/bndtools/bndtools/pulls{/number}","milestones_url":"https://api.github.com/repos/bndtools/bndtools/milestones{/number}","notifications_url":"https://api.github.com/repos/bndtools/bndtools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bndtools/bndtools/labels{/name}","releases_url":"https://api.github.com/repos/bndtools/bndtools/releases{/id}","deployments_url":"https://api.github.com/repos/bndtools/bndtools/deployments","created_at":"2009-02-13T21:39:29Z","updated_at":"2016-09-06T09:28:53Z","pushed_at":"2016-09-07T17:11:15Z","git_url":"git://github.com/bndtools/bndtools.git","ssh_url":"git@github.com:bndtools/bndtools.git","clone_url":"https://github.com/bndtools/bndtools.git","svn_url":"https://github.com/bndtools/bndtools","homepage":"http://bndtools.org","size":433762,"stargazers_count":176,"watchers_count":176,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":84,"mirror_url":null,"open_issues_count":145,"forks":84,"open_issues":145,"watchers":176,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bndtools/bndtools/pulls/1526"},"html":{"href":"https://github.com/bndtools/bndtools/pull/1526"},"issue":{"href":"https://api.github.com/repos/bndtools/bndtools/issues/1526"},"comments":{"href":"https://api.github.com/repos/bndtools/bndtools/issues/1526/comments"},"review_comments":{"href":"https://api.github.com/repos/bndtools/bndtools/pulls/1526/comments"},"review_comment":{"href":"https://api.github.com/repos/bndtools/bndtools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bndtools/bndtools/pulls/1526/commits"},"statuses":{"href":"https://api.github.com/repos/bndtools/bndtools/statuses/935a15cda83eece513b7a959449d4ad01f01cb8d"}}}}
{"actor":{"display_login":"seanbright"}}