User Tools

Site Tools


asc:tutorials:eclipse

This is an old revision of the document!


Eclipse

Some of our colleagues managed to integrate Eclipse with the ATLAS TDAQ environment: https://twiki.cern.ch/twiki/bin/view/Sandbox/TdaqSwEclipse This example touches only the basics.

Install Java and Eclipse

  1. If you do not have Java, please download and install it. Eclipse needs it.
  2. Download “Eclipse IDE for C/C++ Developers” from http://www.eclipse.org/downloads/
  3. Extract folder “eclipse” to a location where you want to store the executables. E.G. C:\Program Files\
  4. Enter the folder and execute “eclipse”. It will ask you for location of the workspace. That's where the source code is stored.

Install SVN plugins

  1. Run Eclipse and select Help > Install New Software… from the main menu.
  2. Enter “http://download.eclipse.org/releases/juno” in “work with” and click “Add…”
  3. Select “Collaboration –> Subversive SVN team provider” and install it.
  4. Restart Eclipse
  5. Select Help > Install New Software… from the main menu.
  6. Select “Subversive SVN Connectors” and “SVN Kit” and install them.
  7. Restart Eclipse.

Access CERN SVN

  1. Window –> Open perspective –> SVN Repository Exploring
  2. Add New Repository Location. Enter “svn+ssh:svn.cern.ch/reps/atlasoff” as URL. Use your CERN username and password. - You can do that to your private SVN repository. - Select “AnalysisSUSY –> trunk –> packages.rc” - Right click on the file and select “Show history” - Compare tag 620896 to the previous revision. - Now you can see what has changed. When the change was made. Who did that. The comments are also displayed. ===== Import a package from SVN ===== - Return to “C/C++ Perspective”: click the icon in the upper-right corner of the window. - Right-click on “Project Explorer” and click “import”. - Select “SVN” –> “Project from SVN”. “Next” –> “Browse”. -
asc/tutorials/eclipse.1414592552.txt.gz · Last modified: 2014/10/29 14:22 by aparamonov