1 Sourceforge CVS

Everybody has access to the CVS of StrutsME , because it's open source. It is recommended to download a release, because the sources might not fit your prospects.

1.1 Anonymous Access

The project's SourceForge.net CVS repository can be checked out through anonymous (pserver) CVS with the following instruction set. The module you wish to check out must be specified as the modulename . When prompted for a password for anonymous, simply press the Enter key

 cvs -d:pserver:anonymous@strutsme.cvs.sourceforge.net:/cvsroot/strutsme login

 cvs -z3 -d:ext:developername@strutsme.cvs.sourceforge.net:/cvsroot/strutsme co -P [modulename]

Known modulenames are:

the source of this webpage
is needed by both the client- and the servermodule
the core of strutsme needed for the mobile phone
the patch for the webapplication
common-module of the sampleapplication
client-module of the sampleapplication
server-module of the sampleapplication

1.2 For Comitters only

Only project developers can access the CVS tree via this method. A SSH client must be installed on your client machine. Substitute modulename and developername with the proper values. Enter your site password when prompted.

First you have to generate a key. For this you may download the putty distribution.


Generating the key-pair

If you have unpacked the distribution you call the puttygen.exe file for generating a key-pair. See figure 1to do that.

Abbildung 1: Generating the key via putty

Be care for the following things:

  • Select a SSH2 RSA key for generating.
  • Create a 1024 bit key.
  • After generating the key don't use the save button to save the key. The save button saves the key in a special putty manner. For the sourceforge server we need a OpenSSH complied key. This is possible by copying the key out of the window.

In a unix environment you can create the key with the ssh-keygen tool.

$ ssh-keygen -b 1024 -t rsa -P myphrase Generating public/private rsa key pair. Enter file in which 
to save the key (/home/mwolff/.ssh/id_rsa): Your identification has been saved in 
/home/mwolff/.ssh/id_rsa. Your public key has been saved in /home/mwolff/.ssh/id_rsa.pub. The key 
fingerprint is: e6:4f:bd:eb:04:98:0e:9c:3f:3e:a8:4d:4b:9a:4f:a6 mwolff@laptopc027

Installing your public key at sourceforge.net

So at least you have three files: The saved public key in putty manner, the saved private key and the saved private key in OpenSSH manner. The third key you have to install at sourceforge.net. For that you enter your own Page on SourceForge (MyPage) and select the Preferences. Scroll down to the "Host Access Information" and install your key. On this place you get also a lot of documentation.

Prepare your putty environment

If you use putty for ssh access you may use the putty-agent to handle your keys. After you have started the pageant.exe file you get an icon in your taskbar notification area. A right click this icon gets the possibility to add private keys to the agent. The agent asks you at your passphrase and store it for this windows session. If you use the agent you only have to enter your passphrase once and not at every access to the cvs server. If you use cygwin there is also a key agent call ssh-agent.