2011年12月19日星期一

Rational Team Concert v3.0.1 client on Ubuntu Oneiric

As an RTC user on Ubuntu 11.10, I'm sorry to hear that "Canonical decided to remove the xulrunner-1.9.2 in Oneiric and further versions" although I know it's the right direction to remove such individual gecko runtime because Gnome 3 is heavily using gecko.

But work is still there since RTC v3.0.1 still depends on xulrunner-1.9.2. So we need it runs on Oneiric. Follow these step and proceed (assuming you run i386 version).

download RTC v3.0 iFix1 (e.g., /home/shawnzhu/Downloads/) once you logged into jazz.net
  1. unzip RTC client plugins
     
    mkdir -p /home/shawnzhu/eclipse_plugins/
    unzip /home/shawnzhu/Downloads/RTC-Eclipse-Client-repo-3.0.1.1.zip
    mv /home/shawnzhu/Downloads/im/repo/rtc-client-offering /home/shawnzhu/eclipse_plugins/
    cd /home/shawnzhu/eclipse_plugins/rtc-client-offering
    mv offering-repo/ eclipse/
     
  2. install eclipse (ignore this step if you installed eclipse already)
     
    sudo apt-get install eclipse-platform eclipse-emf
    # if you runs ubuntu 1110, you need download xulrunner 1.9.2 from launchpad since it's exlcuded
    wget http://launchpadlibrarian.net/70321863/xulrunner-1.9.2_1.9.2.17%2Bbuild3%2Bnobinonly-0ubuntu1_i386.deb
    sudo dpkg -i xulrunner-1.9.2_1.9.2.17+build3+nobinonly-0ubuntu1_i386.deb
     
  3. step3: install RTC v3.0.1 into eclipse in the link style:
     
    sudo echo "path=/home/shawnzhu/eclipse_plugins/rtc-client-offering" > /usr/lib/eclipse/links/rtc-v3.link
     
    # if using x86_64, you need to echo this to /usr/lib64/eclipse/links/rtc-v3.link