{"action":"created","issue":{"url":"https://api.github.com/repos/daithi-coombes/vagrant-jenkins-php/issues/8","labels_url":"https://api.github.com/repos/daithi-coombes/vagrant-jenkins-php/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/daithi-coombes/vagrant-jenkins-php/issues/8/comments","events_url":"https://api.github.com/repos/daithi-coombes/vagrant-jenkins-php/issues/8/events","html_url":"https://github.com/daithi-coombes/vagrant-jenkins-php/issues/8","id":75401735,"number":8,"title":"ant not available on this box","user":{"login":"richardtape","id":116946,"avatar_url":"https://avatars.githubusercontent.com/u/116946?v=3","gravatar_id":"","url":"https://api.github.com/users/richardtape","html_url":"https://github.com/richardtape","followers_url":"https://api.github.com/users/richardtape/followers","following_url":"https://api.github.com/users/richardtape/following{/other_user}","gists_url":"https://api.github.com/users/richardtape/gists{/gist_id}","starred_url":"https://api.github.com/users/richardtape/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardtape/subscriptions","organizations_url":"https://api.github.com/users/richardtape/orgs","repos_url":"https://api.github.com/users/richardtape/repos","events_url":"https://api.github.com/users/richardtape/events{/privacy}","received_events_url":"https://api.github.com/users/richardtape/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-12T00:13:02Z","updated_at":"2015-05-12T09:28:09Z","closed_at":null,"body":"First, thanks so much for putting this together. I've had a lot of fun playing with it. I'm pretty new to this stuff, so it's helped me a tonne.\r\n\r\nI had an issue whereby a jenkins build couldn't run and it transpired to be because `ant` wasn't available.\r\n\r\nSo, here's what I did to fix this.\r\n\r\ncd into the directory where this repo is cloned\r\nssh into the vagrant box with `vagrant ssh`\r\n\r\nthen\r\n\r\n```\r\nsudo apt-get install ant\r\nsudo apt-get install openjdk-7-jdk\r\nsudo cp /usr/lib/jvm/.java-1.7.0-openjdk-amd64.jinfo /usr/lib/jvm/.java-7-openjdk-amd64.jinfo\r\nsudo update-java-alternatives -s java-7-openjdk-amd64\r\n```\r\n\r\nLines 2,3 and 4 are necessary because the default ant that is installed throws up a warning something along the lines of `Unable to locate tools.jar.` which causes Jenkins to barf.\r\n\r\nI ran those, (the vagrant sudo password on this box is 'vagrant' for those who don't know) and I was able to run a build.\r\n\r\nAgain, thanks so much."},"comment":{"url":"https://api.github.com/repos/daithi-coombes/vagrant-jenkins-php/issues/comments/101211326","html_url":"https://github.com/daithi-coombes/vagrant-jenkins-php/issues/8#issuecomment-101211326","issue_url":"https://api.github.com/repos/daithi-coombes/vagrant-jenkins-php/issues/8","id":101211326,"user":{"login":"daithi-coombes","id":1945527,"avatar_url":"https://avatars.githubusercontent.com/u/1945527?v=3","gravatar_id":"","url":"https://api.github.com/users/daithi-coombes","html_url":"https://github.com/daithi-coombes","followers_url":"https://api.github.com/users/daithi-coombes/followers","following_url":"https://api.github.com/users/daithi-coombes/following{/other_user}","gists_url":"https://api.github.com/users/daithi-coombes/gists{/gist_id}","starred_url":"https://api.github.com/users/daithi-coombes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daithi-coombes/subscriptions","organizations_url":"https://api.github.com/users/daithi-coombes/orgs","repos_url":"https://api.github.com/users/daithi-coombes/repos","events_url":"https://api.github.com/users/daithi-coombes/events{/privacy}","received_events_url":"https://api.github.com/users/daithi-coombes/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T09:28:09Z","updated_at":"2015-05-12T09:28:09Z","body":"glad you liked it - and thanks for sharing your work, I will definitely add these as a feature later in the day."}}