{"action":"created","issue":{"url":"https://api.github.com/repos/gocd/gocd/issues/2128","repository_url":"https://api.github.com/repos/gocd/gocd","labels_url":"https://api.github.com/repos/gocd/gocd/issues/2128/labels{/name}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/2128/comments","events_url":"https://api.github.com/repos/gocd/gocd/issues/2128/events","html_url":"https://github.com/gocd/gocd/issues/2128","id":149971727,"number":2128,"title":"Fix instructions for \"setting up your development environment\" so that it is easier for an external developer to create patches.","user":{"login":"ravenscar","id":6245538,"avatar_url":"https://avatars.githubusercontent.com/u/6245538?v=3","gravatar_id":"","url":"https://api.github.com/users/ravenscar","html_url":"https://github.com/ravenscar","followers_url":"https://api.github.com/users/ravenscar/followers","following_url":"https://api.github.com/users/ravenscar/following{/other_user}","gists_url":"https://api.github.com/users/ravenscar/gists{/gist_id}","starred_url":"https://api.github.com/users/ravenscar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravenscar/subscriptions","organizations_url":"https://api.github.com/users/ravenscar/orgs","repos_url":"https://api.github.com/users/ravenscar/repos","events_url":"https://api.github.com/users/ravenscar/events{/privacy}","received_events_url":"https://api.github.com/users/ravenscar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-21T05:35:00Z","updated_at":"2016-04-21T05:54:48Z","closed_at":"2016-04-21T05:54:48Z","body":"##### Issue Type\r\n- Bug Report\r\n\r\n##### Summary\r\n\r\nI would like to create a simple pull request, however the provided [instructions](https://developer.go.cd/current/2/2.1.html) on setting up a development environment seem to be very out of date.\r\n\r\n> The easy way: Download a vagrant box\r\n\r\n doesn't work as the vagrant box and Vagrantfile are both missing.\r\n\r\n> Alternatively, clone the repository containing the vagrant scripts by\r\n\r\ndoesn't work as it fails to build the vagrant box due to missing/broken chef scripts\r\n\r\n> Setting it up manually\r\n\r\nCompiles everything up until the server, then fails.\r\n\r\n```\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO] \r\n[INFO] Thoughtworks Go .................................... SUCCESS [ 23.241 s]\r\n[INFO] base ............................................... SUCCESS [03:49 min]\r\n[INFO] util ............................................... SUCCESS [01:09 min]\r\n[INFO] test-utils ......................................... SUCCESS [03:10 min]\r\n[INFO] db ................................................. SUCCESS [  0.201 s]\r\n[INFO] database ........................................... SUCCESS [  0.200 s]\r\n[INFO] go-plugin-api-internal ............................. SUCCESS [  0.192 s]\r\n[INFO] go-plugin-api ...................................... SUCCESS [04:23 min]\r\n[INFO] go-plugin-activator ................................ SUCCESS [ 13.092 s]\r\n[INFO] go-plugin-infra .................................... SUCCESS [03:54 min]\r\n[INFO] go-plugin-access ................................... SUCCESS [  4.882 s]\r\n[INFO] config-api ......................................... SUCCESS [ 25.597 s]\r\n[INFO] common ............................................. SUCCESS [02:28 min]\r\n[INFO] config-server ...................................... SUCCESS [01:01 min]\r\n[INFO] agent-common ....................................... SUCCESS [  0.698 s]\r\n[INFO] test-agent ......................................... SUCCESS [01:39 min]\r\n[INFO] tfs-impl ........................................... SUCCESS [01:36 min]\r\n[INFO] agent .............................................. SUCCESS [ 26.337 s]\r\n[INFO] agent-launcher ..................................... SUCCESS [  1.295 s]\r\n[INFO] agent-bootstrapper ................................. SUCCESS [  6.723 s]\r\n[INFO] app-server ......................................... SUCCESS [02:13 min]\r\n[INFO] rack_hack .......................................... SUCCESS [  0.258 s]\r\n[INFO] jetty9 ............................................. SUCCESS [01:47 min]\r\n[INFO] server ............................................. FAILURE [06:31 min]\r\n[INFO] server-launcher .................................... SKIPPED\r\n[INFO] development-agent .................................. SKIPPED\r\n[INFO] development-server ................................. SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 35:28 min\r\n[INFO] Finished at: 2016-04-21T04:53:39+00:00\r\n[INFO] Final Memory: 82M/408M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (prepare-webapp) on project server: An Ant BuildException has occured: exec returned: 1\r\n[ERROR] around Ant part ...<exec executable=\"/home/vagrant/gocd/server/../tools/bin/jruby\" failonerror=\"true\" osfamily=\"unix\">... @ 12:102 in /home/vagrant/gocd/server/target/antrun/build-main.xml\r\n[ERROR] -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException\r\n[ERROR] \r\n[ERROR] After correcting the problems, you can resume the build with the command\r\n[ERROR]   mvn <goals> -rf :server\r\nBuildr aborted!\r\nRuntimeError : Failed to run: mvn install -DskipTests\r\n```\r\n\r\nI attempted to build on both master and the 16.3.0 tag.\r\n##### Environment\r\n\r\nNew Vagrant VM with open JDK 7, maven and git installed:\r\n\r\n```\r\nvagrant@vagrant-ubuntu-trusty-64:~/gocd$ cat /etc/issue && java -version && mvn -v && git --version\r\nUbuntu 14.04.4 LTS \\n \\l\r\n\r\njava version \"1.7.0_95\"\r\nOpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.2)\r\nOpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)\r\nApache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T16:41:47+00:00)\r\nMaven home: /var/lib/maven\r\nJava version: 1.7.0_95, vendor: Oracle Corporation\r\nJava home: /usr/lib/jvm/java-7-openjdk-amd64/jre\r\nDefault locale: en_US, platform encoding: UTF-8\r\nOS name: \"linux\", version: \"3.13.0-83-generic\", arch: \"amd64\", family: \"unix\"\r\ngit version 1.9.1\r\n```\r\n\r\n##### Expected Results\r\nA successful compile.\r\n\r\n##### Actual Results\r\nAn unsuccessful compile.\r\n"},"comment":{"url":"https://api.github.com/repos/gocd/gocd/issues/comments/212755004","html_url":"https://github.com/gocd/gocd/issues/2128#issuecomment-212755004","issue_url":"https://api.github.com/repos/gocd/gocd/issues/2128","id":212755004,"user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T05:54:48Z","updated_at":"2016-04-21T05:54:48Z","body":"These instructions have not worked for some time now. We've updated the instructions in time for the next release the new instructions are available at https://developer.go.cd/16.4.0/2/2.1.html.\r\n\r\n16.4 will be out in the next few days, so the url you pointed to will contain the contents of the new link I just gave you.\r\n\r\nI'm going to mark this issue as closed. Please feel free to re-open this issue if you still hit up issues with the new set of instructions, and we'll see what instructions need tweaking."}}