Setup Eclipse - DLR-SC/DataFinder GitHub Wiki

Step 1: Installing Prerequisites

  • See here for more information.

Step 2: Installing IDE

  • Eclipse
  • Download -> Classic 3.6.x is sufficient
  • PyDev
  • Eclipse Software Manager URL: http://pydev.org/updates
  • Setup Python interpreter and pylint (in Window -> Preferences)
  • Add your Python Interpreter to $PATH
  • Subversion plug-in for Eclipse: TODO

Step 3: Configuring DataFinder as PyDev Project

All of the above steps need to be done correctly and work correctly, so the guide can work.

Checkout the Source

In Eclipse: ???

Project Configuration

Check and Configure PYTHONPATH

The PYTHONPATH is the search path for the Python modules and needs to point to the correct modules.

  • Select your project in the navigator on the left hand side
  • Choose context menu: "Project -> Properties"
  • Select "!PyDev -> projecttype" and specify your Python Interpreter
  • Select "!PyDev -> PYTHONPATH" and add the folders: src, test/unittest as Project source folder

Generate Python Build Targets

Before starting the application, some other dependencies need to be build. Overview over the build targets.

For each build target one can configure a run configuration in eclipse:

  • Choose menu "Run -> External Tools -> External Tools"
  • Right-click on: "Program" and choose "New"
  • Specify:
  • Location: Path to your Python Interpreter
  • Working Directory: ${workspace_loc:/<PROJECT_DIRECTORY>
  • Arguments: setup.py <BUILD_TARGET> --pyuiccommand=<PATH_TO_PYUIC_COMMAND> <
    > (pyuic command may be left out, if you have pyuic in your PATH)
  • Confirm with "Apply"
  • Start with "Run" -> running once after each source checkout

Configure Eclipse - Run-Configuration

To start the application from eclipse, one can specify a run configuration.

For each Client (User and Administration) do:

  • Choose menu "Run -> Run ..."
  • Right-click on "Python-Run" and choose "New" to make a new run configuration
  • Specify in "Main":
  • Project: <PROJECT_DIRECTORY>
  • Main Module:
    • User Client: <PROJECT_DIRECTORY>/datafinder-client.py
    • Administrator Client: <PROJECT_DIRECTORY>/datafinder-admin-client.py
  • You may Specify in Environment - just for User Client Configuration:
  • new variable DF_START = URL to the repository (config) of your data (for example: http://datafinder.dlr.de/repos/test/REL_2.0.0/config)
  • Confirm with "Apply"
  • Starting the specified client with "Run"

Saros - Distributed Collaborative Editing and Distributed Party Programming

What is Saros?

Saros is an Eclipse plugin for collaborative text editing that can support arbitrarily many participants at once. All members of a session have an identical copy of an Eclipse project and Saros keeps these copies in sync as editing progresses.

⚠️ **GitHub.com Fallback** ⚠️