Changes between Version 1 and Version 2 of DevelopmentPage/EclipseEnvironment


Ignore:
Timestamp:
Feb 11, 2010, 3:31:36 PM (14 years ago)
Author:
Michel Herquet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopmentPage/EclipseEnvironment

    v1 v2  
    11= The Eclipse integrated development environment =
    22
    3 = Install Eclipse+PyDev+BzrEclipse =
     3= Install Eclipse+!PyDev+!BzrEclipse =
    44
    5 Python + Bazaar+a Launchpad account and a basic editor is all you need to develop MadGraph. However, an Eclipse integrated solution has many advantages to boost productivity (internal versioning support, visual debugger, refactoring, unit testing, ...)
     5Python + Bazaar+a Launchpad account and a basic editor is all you need to develop !MadGraph. However, an Eclipse integrated solution has many advantages to boost productivity (internal versioning support, visual debugger, refactoring, unit testing, ...)
    66
    77Install Eclipse Classic from http://www.eclipse.org/downloads/
    88
    9 Install PyDev from inside Eclipse (using the update site), follow instructions at http://pydev.org/manual_101_install.html
     9Install !PyDev from inside Eclipse (using the update site), follow instructions at http://pydev.org/manual_101_install.html
    1010
    11 Install BzrEclipse:
     11Install !BzrEclipse:
    1212
    1313Download http://code.launchpad.net/bzr-xmloutput/trunk/0.8.4/+download/bzr-xmloutput-0.8.4.tar.gz, unpack it in your local .bazaar/plugins directory
     14
    1415Rename the directory to replace all the “-” and “.” in the name by “_” (don’t ask me why)
     16
    1517Run “python setup.py build_ext -i” from this directory
     18
    1619To install the plugin itself, follow instructions here: http://bazaar-vcs.org/BzrEclipse/Installation
     20
    1721Don’t forget to select all decorators in the Team/Bazaar/Decorators preference panel of Eclipse
    18 Learn Eclipse+PyDev+BzrEclipse
     22
     23= Learn Eclipse+PyDev+BzrEclipse =
    1924
    2025No special advice here, you should just play with it to try to discover new features. If you have some time, there is a nice short tutorial by IBM covering almost all you need to know: http://www.ibm.com/developerworks/library/os-ecant/?ca=drs-tp2604
     
    2328
    2429Create a local repository MADGRAPH in a command line as explained previously
     30
    2531Start Eclipse
     32
    2633Create a new project, select the “Bazaar/Branch as a new project” wizard
     34
    2735Select initialize a new branch location
     36
    2837Enter “lp:madgraph5/trunk” (you need to have tried Bazaar + LP in the command line before for this to work)
     38
    2939Select Tip (branch at last revision)
     40
    3041Enter “MadGraph-trunk” as a project name and enter “...MADGRAPH/trunk” as location.
     42
    3143You should see your mirror branch appearing as a new project
     44
    3245Right click on it, and select “branch” in “Team”
     46
    3347Select Tip (branch at last revision)
     48
    3449Enter “MG-myfeature” as a project name and enter “...MADGRAPH/myfeature” as location
     50
    3551You should see your task branch appearing as a new project
     52
    3653From now on, you can use the same commands as in the command line, all of them being available in the right-click menu “Team”. For example, you can keep your mirror branch up-to-date by right clicking one “MadGraph-trunk” and the “Team/pull” (you might need to select the server lp:madgraph5/trunk in the list).