-
Notifications
You must be signed in to change notification settings - Fork 1
Developing with eclipse
ivmartel edited this page Nov 28, 2011
·
2 revisions
We recommend using Eclipse to develop StartNewModule. Eclipse has plugins for python development (PyDev) that ease the code writing. There is also a plugin for Git integration (EGit). Eclipse project settings are available from the source root folder. Before starting, please verify that you have all the prerequisites (see 'Run from source' on the Install And Run page). This set up was verified with Eclipse 3.6 (Helios) and 3.7 (Indigo).
- First download Eclipse Classic from http://www.eclipse.org/downloads/,
- Install the PyDev extensions by typing http://pydev.org/updates in the
Help > Install New Software...(selecting onlyPyDev for Eclipseis sufficient), - Load your python interpreter in the preferences (search for python), the
Auto Configusually works fine for me, - Install the EGit extensions by typing http://download.eclipse.org/egit/updates in the
Help > Install New Software...(selecting onlyEclipse EGitis sufficient),
- First set up your SSH settings by adding your signature file in the preferences (search for SSH2),
- Modify the Git
Default Repository folderin the preferences (search for Git) to point to the folder where you want to do the checkout, - Under the git view, click on the
Clone a Git Repository and add the clone to this view, - Paste the url given on the github front page, select the
sshprotocol and clickNext, - Choose a branch and click
Next, - Verify the settings and click
Finish.
You should now see the StartNewModule tree in the list of repositories.
- You can now right click on the
Working directoryand chooseImport Projects, - Choose the
Import Existing Projectsand clickNext, - Select StartNewModule and click
Finish.
If you go to the Pydev view, you should now see the StartNewModule project.
- We provide at the source root level a *.launch file:
StartNewModule.launchto run StartNewModule. Right click on one and selectRun Asto run them, - Tests can also be launched individually when either right clicking on one and select
Run AsthenPython unit-testor press CTRL-F9 when a test is opened.
Back to the Developer Guide.