1. Getting started
  2. SIPr FAQs
  3. SIPr Online Release notes
  4. SIPr roadmap
  5. Developer setup instructions
  6. Mailing List

edit SideBar

 

DeveloperSetup

Setting up SVN and Eclipse (or simple SVN)setup and running Sipper

  • Install Ruby 1.8.6 (not ready for 1.9)
  • Install Ruby Gems http://rubyforge.org/frs/?group_id=126 use the zip or tgz version, just run "ruby install.rb"
  • Install Eclipse 3.1 or higher (I am using 3.3)
  • Install Subclipse plugin by following instructions at http://subclipse.tigris.org/install.html
  • Install RDT tools from http://rubyeclipse.sourceforge.net/download.rdt.html by following instructions.
  • The SVN repository for Sipper is at http://rubyforge.org/scm/?group_id=7001, create your account
  • Once you become the member login to rubyforge get the SVN access URL from rubyforge.
  • [Only for Sipper developers/comitters] On windows Set the following environment variable (by right-clicking on My Computer, Properties, Advanced, Environment Variables, New):- Variable name: SVN_SSH Variable value: C:\\Program Files\\TortoiseSVN\\bin\\TortoisePlink.exe (The "\\" is very important, otherwise it won't work. You cannot use the plink.exe that comes with putty as that fires up a command shell window which is really annoying. The TortoisePlink.exe is a windows implementation of plink that doesn't bring up any UI)
  • Start your Eclipse and go to SVN Browsing perspective, enter the repository location as the SVN URLs (as the case maybe depending upon your membership type - user/developer)
  • You will see sipper as root directory. Right click on sipper and select Checkout. In the dialog box checkout sipper as a Project, call it Sipper.
  • You will be prompted to choose Ruby perspective for Eclipse, select yes. This will check out all the source files for the project.
  • Now you will need to install the following additional libraries -
  • Log4r : http://log4r.sourceforge.net/ (follow instructions, actually it is either just an unzip or installation as a downloadable gem)
  • Flex Mock : http://onestepback.org/software/flexmock/ type "gem install flexmock"
  • Facets 1.8.54, [Note previous version shall not work] download the right version of gem and type "gem install facets185.gem"
  • Rake. Download from http://rubyforge.org/project/showfiles.php?group_id=50 and follow instructions.
  • SMC http://smc.sourceforge.net (just download and keep in some location, you might need in some cases)
  • Once you have installed all the libraries. Create an environment variable SIPPER_HOME pointing towards the "sipper" root directory. This directory is the parent of "sipper", "sipper_test", "README", "Rakefile" etc. NOTE that while setting this environment variable use the forward slashes even in windows for path separation.
  • Now navigate to sipper_test and type "rake" this should run all the tests, if you see any failures or errors then contact Nasir, otherwise enjoy sipper.