{"action":"created","issue":{"url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin/issues/43","repository_url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin","labels_url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin/issues/43/comments","events_url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin/issues/43/events","html_url":"https://github.com/Gubaer/josm-scripting-plugin/issues/43","id":231028073,"number":43,"title":"Helloworld in http://gubaer.github.io/josm-scripting-plugin/doc/scripting-environment.html","user":{"login":"bjohas","id":7574634,"avatar_url":"https://avatars0.githubusercontent.com/u/7574634?v=3","gravatar_id":"","url":"https://api.github.com/users/bjohas","html_url":"https://github.com/bjohas","followers_url":"https://api.github.com/users/bjohas/followers","following_url":"https://api.github.com/users/bjohas/following{/other_user}","gists_url":"https://api.github.com/users/bjohas/gists{/gist_id}","starred_url":"https://api.github.com/users/bjohas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjohas/subscriptions","organizations_url":"https://api.github.com/users/bjohas/orgs","repos_url":"https://api.github.com/users/bjohas/repos","events_url":"https://api.github.com/users/bjohas/events{/privacy}","received_events_url":"https://api.github.com/users/bjohas/received_events","type":"User","site_admin":false},"labels":[{"id":183910178,"url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin/labels/problem","name":"problem","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-05-24T12:47:41Z","updated_at":"2017-05-26T09:08:39Z","closed_at":null,"body":"The documentation http://gubaer.github.io/josm-scripting-plugin/doc/scripting-environment.html says \r\n\r\n> The places, where the Scripting Plugin is looking for modules, can be configured in the preferences. It looks for modules in two places:\r\n> ...\r\n> Then, it tries to load it from one of the configured plugin repositories. Each repository is either a directory in the local file system or in jar/zip file in the local filesystem.\r\n\r\nHowever, we cannot get the helloworld example to work - we've added the directory with file:// to the JOSM plugin repositories, but get an error. Any ideas what could be wrong?\r\n\r\nMany thanks!"},"comment":{"url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin/issues/comments/304232065","html_url":"https://github.com/Gubaer/josm-scripting-plugin/issues/43#issuecomment-304232065","issue_url":"https://api.github.com/repos/Gubaer/josm-scripting-plugin/issues/43","id":304232065,"user":{"login":"bjohas","id":7574634,"avatar_url":"https://avatars0.githubusercontent.com/u/7574634?v=3","gravatar_id":"","url":"https://api.github.com/users/bjohas","html_url":"https://github.com/bjohas","followers_url":"https://api.github.com/users/bjohas/followers","following_url":"https://api.github.com/users/bjohas/following{/other_user}","gists_url":"https://api.github.com/users/bjohas/gists{/gist_id}","starred_url":"https://api.github.com/users/bjohas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjohas/subscriptions","organizations_url":"https://api.github.com/users/bjohas/orgs","repos_url":"https://api.github.com/users/bjohas/repos","events_url":"https://api.github.com/users/bjohas/events{/privacy}","received_events_url":"https://api.github.com/users/bjohas/received_events","type":"User","site_admin":false},"created_at":"2017-05-26T09:08:39Z","updated_at":"2017-05-26T09:08:39Z","body":"Right - we got to the bottom of this! The directories need to be added to the Rhino engine tab in the scripting plugin preferences, not to the sources in the general plugin preferences! There is a broken image on this page  http://gubaer.github.io/josm-scripting-plugin/doc/scripting-environment.html that would probably show this. Sorry for the confusion, and many thanks!\r\n\r\nAbout the caching - I'll investigate that and will get back to you!"}}
{"actor":{"display_login":"bjohas"}}