- Task 1: Install an SVN client. Download and install an SVN client.
- If you are using Windows, I recommend TortoiseSVN. If you are using a Mac, I use SmartSVN. Both are free, open source packages.
- I downloaded both subversive plugin for Eclipse, and SmartSVN for OSX.
- Task 2: Checkout/modify/commit an existing system hosted at Google Projects.
- Check out the "robocode-pmj-dacruzer" project into your local workspace with commit access. You should be a member of this project, and thus able to check it out using https.Make sure that the "verify" target passes."Improve" the project in some way. This does not have to be a major improvement. Perhaps there is a JavaDoc comment that could be worded in a slightly better way, for example. Make sure that the "verify" target still passes. Commit your change to the repository, and make sure you include an informative commit message explaining how you improved the Project.
- I managed to complete all of these steps simply using the subversive plugin for eclipse. I could successfully import the project from https://robocode-pmj-dacruzer.googlecode.com/svn/trunk without having to access the terminal.
- The Eclipse run of ant verify.build.xml gave an output of successful completion. Thus it can be expected that the Subversive checkout accomplished the task and got the required files.
- I added the comment "OVER 9000!" to the firing method of DaCruzer and ran the verify.build.xml one more time. After it proved successful, I synchronized with the repository, and after some quick merging, I committed the new revision.
- Task 3: Create a new system hosted at Google Projects.
- The assignment of getting our robocode robot java project hosted on Google Code didn't prove too problematic. However, I initially had trouble sharing my project on google hosting. I erroneously uploaded the project to the main directory instead of the trunk using Eclipse’s Subversion plugin. I’m still unsure as how to delete files in the main directory with this plugin, however, I was able to delete this extra file via the terminal by use of :
svn delete https://robocode-ktt-bubonic.googlecode.com/svn/robocode-ktt-bubonic --username kurt.t.teichman@gmail.com --message Bad upload
- I then proceeded to check out the project using Eclipse's Subversive plugin again and ran the ant verify.build.xml through Eclipse. Everything went smoothly.
- I created a google discussion group for the project @ http://groups.google.com/group/robocode-ktt-bubonic-discuss
- I created the required UserGuide and DeveloperGuide wiki page using Googles markup language which was a pain. I used Professor Johnson's sample guides for the robocode-pmj-dacruzer for inspiration when creating these.
The majority of the assignment ran smoothly and I got to experiment and use the Eclipse Subversive plugin. I feel like the assignment was a great introduction to the usage of SVN and hosting projects on Google Code. I would highly recommend trying this out if you have any aspirations of creating projects that will be worked on by multiple people. If you wish to see the robocode-ktt-bubonic project, please goto:
https://code.google.com/p/robocode-ktt-bubonic/


No comments:
Post a Comment