asc:tutorials:eclipse
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
asc:tutorials:eclipse [2014/10/29 14:57] – aparamonov | asc:tutorials:eclipse [2014/10/29 21:20] (current) – asc | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | |||
====== Eclipse ====== | ====== Eclipse ====== | ||
Line 10: | Line 12: | ||
- Extract folder " | - Extract folder " | ||
- Enter the folder and execute " | - Enter the folder and execute " | ||
+ | |||
+ | <note tip>For ANL, eclipse is installed in / | ||
===== Install SVN plugins ===== | ===== Install SVN plugins ===== | ||
Line 18: | Line 22: | ||
- Restart Eclipse | - Restart Eclipse | ||
- Select Help -> Install New Software... from the main menu. | - Select Help -> Install New Software... from the main menu. | ||
- | - Enter http:// | + | - Enter [[http:// |
- Select " | - Select " | ||
- Restart Eclipse. | - Restart Eclipse. | ||
Line 25: | Line 29: | ||
- Window -> Open perspective -> SVN Repository Exploring | - Window -> Open perspective -> SVN Repository Exploring | ||
- | - Add New Repository Location. Enter svn+ssh:// | + | - Add New Repository Location. Enter [[svn+ssh:// |
- Use your CERN username and password. | - Use your CERN username and password. | ||
- You can also do that to your private SVN repository. | - You can also do that to your private SVN repository. | ||
Line 35: | Line 39: | ||
===== Import a package from SVN ===== | ===== Import a package from SVN ===== | ||
- | |||
- Return to "C/C++ Perspective": | - Return to "C/C++ Perspective": | ||
Line 47: | Line 50: | ||
- Now the syntax checking, indexing, and autocomplete are enabled. | - Now the syntax checking, indexing, and autocomplete are enabled. | ||
+ | ===== Edit the code ===== | ||
+ | |||
+ | - Press Shift+Ctrl+F | ||
+ | - It will auto-alight the code. | ||
+ | - Go to line 128 and type " | ||
+ | - Delete " | ||
+ | - Let's commit that into the SVN repository. | ||
+ | - Right-click on SUSYToolsAlg.cxx and select "Team -> Commit..." | ||
+ | - Select " | ||
+ | - Ops.. we do not have permissions to do that. | ||
+ | - Well, that is how you synchronize your code with a repository. | ||
+ | - Right-click on SUSYToolsAlg.cxx and select "Team -> Revert" | ||
+ | |||
+ | ===== Add libraries | ||
+ | |||
+ | - You may want to keep your code aware of external libraries (e.g. ROOT). | ||
asc/tutorials/eclipse.1414594624.txt.gz · Last modified: 2014/10/29 14:57 by aparamonov