Changes between Version 1 and Version 2 of DevelopmentPage/EclipseEnvironment
- Timestamp:
- Feb 11, 2010, 3:31:36 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopmentPage/EclipseEnvironment
v1 v2 1 1 = The Eclipse integrated development environment = 2 2 3 = Install Eclipse+ PyDev+BzrEclipse =3 = Install Eclipse+!PyDev+!BzrEclipse = 4 4 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, ...)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, ...) 6 6 7 7 Install Eclipse Classic from http://www.eclipse.org/downloads/ 8 8 9 Install PyDev from inside Eclipse (using the update site), follow instructions at http://pydev.org/manual_101_install.html9 Install !PyDev from inside Eclipse (using the update site), follow instructions at http://pydev.org/manual_101_install.html 10 10 11 Install BzrEclipse:11 Install !BzrEclipse: 12 12 13 13 Download 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 14 15 Rename the directory to replace all the “-” and “.” in the name by “_” (don’t ask me why) 16 15 17 Run “python setup.py build_ext -i” from this directory 18 16 19 To install the plugin itself, follow instructions here: http://bazaar-vcs.org/BzrEclipse/Installation 20 17 21 Don’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 = 19 24 20 25 No 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 … … 23 28 24 29 Create a local repository MADGRAPH in a command line as explained previously 30 25 31 Start Eclipse 32 26 33 Create a new project, select the “Bazaar/Branch as a new project” wizard 34 27 35 Select initialize a new branch location 36 28 37 Enter “lp:madgraph5/trunk” (you need to have tried Bazaar + LP in the command line before for this to work) 38 29 39 Select Tip (branch at last revision) 40 30 41 Enter “MadGraph-trunk” as a project name and enter “...MADGRAPH/trunk” as location. 42 31 43 You should see your mirror branch appearing as a new project 44 32 45 Right click on it, and select “branch” in “Team” 46 33 47 Select Tip (branch at last revision) 48 34 49 Enter “MG-myfeature” as a project name and enter “...MADGRAPH/myfeature” as location 50 35 51 You should see your task branch appearing as a new project 52 36 53 From 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).