-
Notifications
You must be signed in to change notification settings - Fork 1
Deliverable 1
We were able to clone the project, Open Trip Planner, from Github. Working from OTP’s “Getting OTP” documentation, we went through the steps, which were all seemingly simple enough. Initially, we received a “build failure” with the error message outputted to the screen that we needed a higher version of Maven. On further inspection, we discovered that the version of maven that we downloaded, which was the default that OTP told us to use in the command line, was an older version of Maven. This proved more difficult than we thought. After searching for a solution, we finally found a very recent tutorial that was extremely helpful. We downloaded the newer Maven and made sure it downloaded correctly. After this, we ran the command to build OTP and “clean package”. After a few minutes, once we all got the message “build success”, we tried to compile it. This proved difficult because we had to decide whether to compile it on the command line, eclipse, net beans, or some other compiler. After some research, it seemed as if Eclipse would be too complicated for this complex project; therefore, one group member tried to compile it on Netbeans and another on the command line from the terminal. We debated on if we should abandon OTP and start another; however, we decided to stick with it.
Downloading Netbeans on Ubuntu was tricky as first because the Netbeans Linux installation instructions gave errors on Ubuntu. Once again, searched for Netbeans tutorial for installation on Ubuntu, followed instruction from ubuntuhandbook.org. Their steps were very straightforward and there were no problems downloading Netbeans. Once the project was opened in Netbeans, everything seemed to be running okay since there was no code underlined in red. A few tests were ran with success; however, Netbeans decided to download a bunch of plugins randomly and after that, the tests would no longer run with failed exception messages in the output that it needed a different Maven plugin, which was unable to find or install.
Overall, the trial and error process taught a lot in how to figure out other ways to do a task when one way wouldn’t work. Although frustrating at times because OTP was more complex than realized (code seemed very organized), the build success we received boosted our confidence. The plugins for Maven and running the tests gave us difficulty. However, our greatest problem was scheduling meeting times to work on the project because we all have very different schedules. However, once we found a time, we successfully built OTP on Ubuntu. The tests seemed to have failed because of the other dependencies such as getting data for different cities to use and various other files that OTP requires.