1) Install VirtualBox 4.04 [http://www.virtualbox.org/wiki/Downloads]

2) Download Ubuntu Linux 10.10 Desktop - GWT Image
  Username: metpetdb
  Password: ******* see Sibel Adali for password

3) Start and Enjoy.


Information about how the image was created.  You do not need to perform these steps as they have been done for you.

Installed Ubuntu 10.10 64 Bit Desktop Edition (1GB RAM, 8GB Disk) on VirtualBox

Setup PostgreSQL
 sudo apt-get install postgresql-8.4
 sudo apt-get install postgresql-8.4-postgis

Setup MetPetDB Database
 sudo -u postgres createuser metpetdb
 sudo -u postgres createuser mpdb
 sudo -u postgres creatdb mpdb
 createlang -dmpdb plpgsql
 psql -dmpdb -f /usr/share/postgresql/8.4/contrib/postgis-1.5/postgis.sql
 psql -dmpdb -f /usr/share/postgresql/8.4/contrib/postgis-1.5/spatial_ref_sys.sql

#run the following command on samana
 pg_dump -d mpdb_stable -O -c -d -x -f foo2.dmp

#fix the dump so that is points to PostGIS library
 sed foo2.dmp -e 's_/software/postgis-1.2.0-0/pkg/lib/liblwgeom.so.1_/usr/lib/postgis/1.5.1/postgres/8.4/lib/postgis-1.5.so_' > foo2_sed.dmp

#execute the dump against your database
 cat foo2_sed.dmp  | psql -dmpdb 


Setup Java
Install Sun Java6

Edit .profile to point to sun's jdk

Download latest Eclipse from Eclipse.org for Java EE Developers (64bit)
  Install Subversive Team Provider
  Install SVNKit 1.3.5 (for Subversion 1.6)
  Install WTP

Download GWT SDK 2.0.4 from the older downloads page 

Go to the missing plugins page  http://gwt.google.com/missing-plugin/MissingPlugin.html

Change the Build Path Configuration to point to the GWT SDK and appropriate libraries (see the image)


Edit the hibernate.cfg.in file and copy it to the server/dao folder

Edit the files.properties file and put in the server src folder

Edit the ServiceConstants.properties in the client.util folder