Skip to content

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).

Eclipse set up

Download the code

  • First set up your SSH settings by adding your signature file in the preferences (search for SSH2),
  • Modify the Git Default Repository folder in 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 ssh protocol and click Next,
  • Choose a branch and click Next,
  • Verify the settings and click Finish.

You should now see the StartNewModule tree in the list of repositories.

Set up the python project

  • You can now right click on the Working directory and choose Import Projects,
  • Choose the Import Existing Projects and click Next,
  • Select StartNewModule and click Finish.

If you go to the Pydev view, you should now see the StartNewModule project.

Running things

  • We provide at the source root level a *.launch file: StartNewModule.launch to run StartNewModule. Right click on one and select Run As to run them,
  • Tests can also be launched individually when either right clicking on one and select Run As then Python unit-test or press CTRL-F9 when a test is opened.

Back to the Developer Guide.

Clone this wiki locally