Setup Eclipse - DLR-SC/DataFinder GitHub Wiki
- See here for more information.
- 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
All of the above steps need to be done correctly and work correctly, so the guide can work.
In Eclipse: ???
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
asProject source folder
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 havepyuic
in yourPATH
) - Confirm with "Apply"
- Start with "Run" -> running once after each source checkout
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
-
User Client:
- 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 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.
- Update Site: http://dpp.sourceforge.net/update
- Jabber Server: lit2.sistec.kp.dlr.de