{"action":"created","issue":{"url":"https://api.github.com/repos/qa/arquillian-phantom-driver/issues/28","repository_url":"https://api.github.com/repos/qa/arquillian-phantom-driver","labels_url":"https://api.github.com/repos/qa/arquillian-phantom-driver/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/qa/arquillian-phantom-driver/issues/28/comments","events_url":"https://api.github.com/repos/qa/arquillian-phantom-driver/issues/28/events","html_url":"https://github.com/qa/arquillian-phantom-driver/issues/28","id":267666571,"number":28,"title":"PHANTOMJS_RESOURCE hardcoded, 1.9.8 not working","user":{"login":"FibreFoX","id":1042579,"avatar_url":"https://avatars0.githubusercontent.com/u/1042579?v=4","gravatar_id":"","url":"https://api.github.com/users/FibreFoX","html_url":"https://github.com/FibreFoX","followers_url":"https://api.github.com/users/FibreFoX/followers","following_url":"https://api.github.com/users/FibreFoX/following{/other_user}","gists_url":"https://api.github.com/users/FibreFoX/gists{/gist_id}","starred_url":"https://api.github.com/users/FibreFoX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FibreFoX/subscriptions","organizations_url":"https://api.github.com/users/FibreFoX/orgs","repos_url":"https://api.github.com/users/FibreFoX/repos","events_url":"https://api.github.com/users/FibreFoX/events{/privacy}","received_events_url":"https://api.github.com/users/FibreFoX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-23T13:24:44Z","updated_at":"2017-11-10T08:26:52Z","closed_at":null,"author_association":"NONE","body":"With older 1.9.x versions of PhantomJS, the binary is NOT inside some \"BIN\"-folder within the JAR-archive. \r\nhttps://github.com/qa/arquillian-phantom-driver/blob/48a22f8d2848647545093a9a41095298ee4eed17/src/main/java/org/jboss/arquillian/phantom/resolver/maven/MavenPhantomJSBinaryResolver.java#L31\r\n\r\nStacktrace:\r\n```\r\njava.io.FileNotFoundException: cannot find file: bin/phantomjs.exe in archive: C:\\Users\\someuser\\.m2\\repository\\org\\jboss\\arquillian\\extension\\arquillian-phantom-binary\\1.9.8\\arquillian-phantom-binary-1.9.8-windows.jar\r\n\tat org.jboss.arquillian.phantom.resolver.FileUtils.extract(FileUtils.java:38)\r\n\tat org.jboss.arquillian.phantom.resolver.maven.MavenPhantomJSBinaryResolver.resolveFreshExtracted(MavenPhantomJSBinaryResolver.java:70)\r\n\tat org.jboss.arquillian.phantom.resolver.maven.MavenPhantomJSBinaryResolver.resolve(MavenPhantomJSBinaryResolver.java:56)\r\n\tat org.jboss.arquillian.phantom.resolver.ResolvingPhantomJSDriverService.resolveBinary(ResolvingPhantomJSDriverService.java:99)\r\n\tat org.jboss.arquillian.phantom.resolver.ResolvingPhantomJSDriverService.createDefaultService(ResolvingPhantomJSDriverService.java:52)\r\n```\r\n\r\nHow can `PHANTOMJS_RESOURCE` be overridden/changed? Do I need to use an older version of `arquillian-phantom-driver` for using older phantomjs-versions?"},"comment":{"url":"https://api.github.com/repos/qa/arquillian-phantom-driver/issues/comments/343408075","html_url":"https://github.com/qa/arquillian-phantom-driver/issues/28#issuecomment-343408075","issue_url":"https://api.github.com/repos/qa/arquillian-phantom-driver/issues/28","id":343408075,"user":{"login":"MatousJobanek","id":1510709,"avatar_url":"https://avatars3.githubusercontent.com/u/1510709?v=4","gravatar_id":"","url":"https://api.github.com/users/MatousJobanek","html_url":"https://github.com/MatousJobanek","followers_url":"https://api.github.com/users/MatousJobanek/followers","following_url":"https://api.github.com/users/MatousJobanek/following{/other_user}","gists_url":"https://api.github.com/users/MatousJobanek/gists{/gist_id}","starred_url":"https://api.github.com/users/MatousJobanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MatousJobanek/subscriptions","organizations_url":"https://api.github.com/users/MatousJobanek/orgs","repos_url":"https://api.github.com/users/MatousJobanek/repos","events_url":"https://api.github.com/users/MatousJobanek/events{/privacy}","received_events_url":"https://api.github.com/users/MatousJobanek/received_events","type":"User","site_admin":false},"created_at":"2017-11-10T08:26:52Z","updated_at":"2017-11-10T08:26:52Z","author_association":"CONTRIBUTOR","body":"Yeah, if you want to use an older version of PhantomJS you need to use the respective version of `arquillian-phantom-driver` that is compatible with it"}}
{"actor":{"display_login":"MatousJobanek"}}