Installing Eclipse Debugger for Framework

06.08.2009

TWiki for installing Eclipse
https://twiki.cern.ch/twiki/bin/view/Atlas/AthenaEclipsePlugin
installation following twiki exact failed

Install of Eclipse with Svn plugin on Scientific Linux CERN SLC release 4.8 (Beryllium) machine with afs access to CERN

Installed eclipse and svn plugin using roughly following sequence:

download of java from java.com : used Java JDK (the development kit) SE (standard edition) from: http://java.sun.com/javase/downloads/index.jsp

  • selected linux
  • downloaded file: jdk-6u15-linux-i586-rpm.bin

Installation instructions on
http://java.sun.com/javase/6/webnotes/install/system-configurations.html
under
Linux x64
32-bit mode JDK
installed to /usr/java

download of subversion client:

download and install of eclipse: instructions AETwiki

  • http://www.eclipse.org/downloads/
  • gunzip filethat is downloaded
  • tar -xvf unziped file
  • move untarred directory to in /usr/eclipse
  • add symbolic link ln -s /usr/eclipse/eclipse /usr/bin/eclipse

Run eclipse

  • - froze due to exceeding disk quota - cleared home directory
  • run success

Add support for svn

  • Useful links
  • open menu Help-> Install New Software
  • click Add...
  • added
    http://download.eclipse.org/releases/galileo
    : name Galileo
    • can also be added and tested from 'Available Software Sites' in preferences
  • click down arrow to select site Galileo ... delay
  • selected Collaboration -> Subversive SVN Team Provider (Incubation) - install process next... etc...
  • restarted eclipse now shows new window
  • added also CMTPlugin
    • site
      http://hep.phys.sfu.ca/cmtplugin/
      • uncheck Group items by category - plugin is invisible by default

Setup link for libraries of svn client to suport eclipse follow instructions on:

  • http://subclipse.tigris.org/wiki/JavaHL
  • modifed /usr/eclipse/eclipse.ini
  • added line -Djava.library.path=/opt/CollabNet_Subversion/lib
  • -startup
    plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
    -product
    org.eclipse.epp.package.cpp.product
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -XX:MaxPermSize=256m
    -Xms40m
    -Xmx256m
    
    to...
  • -startup
    plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520
    -product
    org.eclipse.epp.package.cpp.product
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    -vmargs
    -Djava.library.path=/opt/CollabNet_Subversion/lib
    -Dosgi.requiredJavaVersion=1.5
    -XX:MaxPermSize=256m
    -Xms40m
    -Xmx256m

  • Installing Connectors
    • add site
      http://community.polarion.com/projects/subversive/download/eclipse/2.0/galileo-site/
      : name SVNGalileoConnectors - same process as for www.eclipse...galileo site
    • select SVNGalileoConnectors
    • select Subversive SVN Connectors -> Subversive SVN Connectors and Native Java 1.6 Implementation(optional) .. Next...
      • follow installation ... eclipse restart

Setup svn for athena:

  • New Repository Location icon in left tab SVN Repositories
  • add to URL: svn+ssh://svn.cern.ch/reps/atlasoff
  • add user
  • install_eclipse_svn0.png:
    install_eclipse_svn0.png

Running Eclipse

Setup for Kit

in $HOME/workspace(1)

  • $mkdir cmthome
  • cd cmthome
  • create requirements:
    •  
      
  • source /localdata3/ATLASkits/15.3.0/CMT/v1r20p20090520/mgr/setup.sh
  • cmt config


Setup CMT
  • $eclipse
  • in Window->Preferences
  • snapshotOfCmtsetup.png:
    install_eclipse_svn0.png

Check out package * Window -> Open Perspective -> Other... ->SVN repository exploring * Right click on UserAnalysis trunk -> Check out as Athena Package

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng install_eclipse_svn0.png r1 manage 260.6 K 2009-08-06 - 20:30 PtacekE  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2009-09-04 - Eptacek
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback