{"action":"opened","issue":{"url":"https://api.github.com/repos/Dynatrace/Dynatrace-Cordova-Plugin/issues/1","repository_url":"https://api.github.com/repos/Dynatrace/Dynatrace-Cordova-Plugin","labels_url":"https://api.github.com/repos/Dynatrace/Dynatrace-Cordova-Plugin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Dynatrace/Dynatrace-Cordova-Plugin/issues/1/comments","events_url":"https://api.github.com/repos/Dynatrace/Dynatrace-Cordova-Plugin/issues/1/events","html_url":"https://github.com/Dynatrace/Dynatrace-Cordova-Plugin/issues/1","id":236881046,"number":1,"title":"Problem finding src directory in Cordova project","user":{"login":"ashe540","id":4205841,"avatar_url":"https://avatars2.githubusercontent.com/u/4205841?v=3","gravatar_id":"","url":"https://api.github.com/users/ashe540","html_url":"https://github.com/ashe540","followers_url":"https://api.github.com/users/ashe540/followers","following_url":"https://api.github.com/users/ashe540/following{/other_user}","gists_url":"https://api.github.com/users/ashe540/gists{/gist_id}","starred_url":"https://api.github.com/users/ashe540/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashe540/subscriptions","organizations_url":"https://api.github.com/users/ashe540/orgs","repos_url":"https://api.github.com/users/ashe540/repos","events_url":"https://api.github.com/users/ashe540/events{/privacy}","received_events_url":"https://api.github.com/users/ashe540/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-19T12:53:18Z","updated_at":"2017-06-19T12:53:18Z","closed_at":null,"body":"Hello, we are finding some difficulties instrumenting a Cordova application with the plugin. It seems that it fails to find a \"src\" directory (which the application does not have, since it is not an ionic application, but only cordova).\r\n\r\n#INFO  [2017-06-19 12:44:20]: Successfully read the settings for the JSAgent instrumentation!\r\n#INFO  [2017-06-19 12:44:20]: Auto-Update is turned on. Will try to update JSAgent.\r\n#INFO  [2017-06-19 12:44:20]: Starting the download of the JSAgent ..\r\n#INFO  [2017-06-19 12:44:20]: Download of agent file finished\r\n#INFO  [2017-06-19 12:44:20]: JSAgent was downloaded successfully!\r\n#INFO  [2017-06-19 12:44:20]: Path: C:\\XXX\\plugins\\dynatrace-cordova-plugin\\scripts/../../../src\r\n#ERROR [2017-06-19 12:44:20]: Source directory is not available. There is nothing to instrument.\r\n#ERROR [2017-06-19 12:44:20]: Error: Source directory is not available. There is nothing to instrument.\r\nError: Source directory is not available. There is nothing to instrument.\r\n\r\n\r\nWe have commented lines 87-135 of the instrument.js file, which is the part that checks for said directory and the instrumentation works fine. Shouldn't having this directory be optional and not exit the script? Thanks!\r\n"}}
{"actor":{"display_login":"ashe540"}}