Skip to content

Using Eclipse for development

Antonio Monje edited this page Mar 2, 2016 · 1 revision

Development in Eclipse

This is a rough guide to using Eclipse for developing with eXe. Tested with Eclipse 4.2.2 on Ubuntu 13.10

1. Install PyDev in Eclipse to provide Python support

2. Make a new PyDev project in your eclipse workspace (Type: Python, Grammar Version 2.7, select configure pythonpath later). Name can be whatever you like - e.g. eclipse-exe

3. Git checkout the source into the project folder (e.g. cd ~/workspace/eclipse-exe ; git clone ... )

4. Right click on the project, select refresh and you should see the sources in Eclipse

5. Right click and select project properties. On the left Choose PyDev - PYTHONPATH . Click add source folder. From the project name select the folder iteexe . Click OK

6. Copy iteexe/exe/exe to iteexe/exe/run-exe.py (in order to be able to select for a python run or debug we need a .py file)

7. Refresh the project tree if needed to see run-exe.py

8. Right click on run-exe.py , select debug as , Debug Configurations

9. Project - select the project e.g. eclipse-exe . For main module browse to iteexe/exe/run-exe.py .

10. Click the arguments tab. In the arguments field enter --standalone (so exe will run in standalone mode using the local source in the development environment and not any others). From working directory select other, select workspace/iteexe . Click close to finish or debug to get started with the debugger.

Video: Development in Eclipse

Clone this wiki locally