Sunday, March 1, 2009

Research and Prototyping

The past days, we've been doing some extensive research about webservices and the subversion revision control program.

After lots of reading and 'trail and error', we managed to get the apache axis2 servlet running on top of an apache tomcat server. This great tool does a lot of low level (SOAP/WSDL) serverside work behind the scenes, which will allow us to focus more on our core objective: implementing the SVN protocol using those webservices.

Today I succeeded in creating a small client which can communicate with the server. I started from a stub that was generated by an eclipse plugin for Axis. Although this helped a lot, the generated code is of very poor quality... So, I started refactoring and adding some basic (temporary) design to the code.
It will probably take a few more days before we'll have something where we can really build upon... (We hope to have some sort of better design (on paper) before friday.)

Meanwhile, Kurt has been examining the SVN-protocol more carefully. We discovered the SVNkit API for Java (which is also used by the popular Subclipse plugin for Eclipse). He managed to create a small prototype that can list directories within a repository, and even 'checkout' those !

Tomorrow we'll evaluate the progress we've made this weekend.

Joris




No comments:

Post a Comment