Development Environment Setup
EclipseTrader is developed using Eclipse 3.5 (Galileo).
- Download and install Eclipse SDK from http://download.eclipse.org/eclipse/downloads/drops/R-3.5.2-201002111343/index.php.
- Download the following packages that composes the target platform:
- eclipse-platform-SDK-3.5.2 (choose you preferred OS)
- eclipse-3.5.2-delta-pack.zip (if you want to export to multiple OSes)
- eclipse-test-framework-3.5.2.zip
- Unpack all packages to a dedicated directory, for example platform-3.5. Do not unpack to the Eclipse SDK directory.
- From Eclipse, open Window -> Preferences and go to Plug-in Development / Target Platform and add a new target platform definition poiting to the directory location above. Make sure to select the new definition as the default (active) target platform.
- The project uses Subversion as the source code repository, so you need to install an svn Team Provider. We are using Subclipse.
Now download and import the source code.
Check-out from command line
Check-out the complete source code tree from the subversion repository:
svn co http://svn.eclipsetrader.org/svnroot/eclipsetrader/trunk eclipsetrader
This command checks-out all projects, including JUnit tests and the Nebula Widgets plugins to a directory named eclipsetrader.
Start Eclipse and point the workspace to the eclipsetrader directory (or wherever you have checked-out the source code). Import all projects using File -> Import -> General / Existing Projects into Workspace (leave the Copy projects into workspace option unchecked).
Check-out with Team Project Set
Download trunkProjectSet.psf and import it using File -> Team / Team Project Set. The import should create the subversion and cvs repositories and check-out the source code automatically.
Setup the Run Configuration
EclipseTrader is not meant to be run as a generic Eclipse plugin, it runs as a standalone RCP (Rich Client Platform) application.
- From Eclipse open `Run -> Run Configurations'.
- Select Eclipse Application from the list at the left and select New launch configuration from the toolbar above.
- In the Program to Run box enable Run a Product and select org.eclipsetrader.platform.workbench.
- In the Plug-ins tab select Launch with: plugins-selected below only.
- Deselect all *.tests plugins, they are not needed by the normal application run.
- Deselect all Target Platform plugins and hit Add Required Plug-ins button.
- If the tests plugins are selected, deselect them again, also deselect org.junit and org.eclipse.ant.optional.junit. Click Validate Plug-ins to make sure that all is correct.
The run configuration setup is done, click Run to run EclipseTrader.
Attachments
-
trunkProjectSet.psf
(10.0 KB) - added by admin
13 months ago.
Team project set
