Nyota:Setup
From Eclipse.compeople.de
Nyota > Setup
Contents |
[edit] Installation
[edit] First you need to setup your Eclipse Environment:
- Download and install Eclipse IDE in a fairly current version (3.3 or later recommended) from here. i.e. into c:\eclipse
- Download RCP Runtime Binary or RCP SDK in a current version from here (SDK is larger but also contains the sourcecode of RCP in case you want that)
- Download Equinox from here (Runtime or SDK with same rules as above)
- Create a new directory for the RCP Target Environment
- i.e. c:\rcptarget
- Now extract both .zip files into that same directory. This way the plugins and features from both zips are merged within one directory. (Overwrite if there are duplicates in the second extract process)
Your directory structure should look like this
- c:\rcptarget\eclipse
- configuration
- features
- plugins
- readme
- .eclipseproduct
- eclipse.exe
- ..
The 'plugins' directory above now contains plugins from the RCP Runtime zip and also from the equinox zip file.
- Download the Nyota package nyota_with_src-x.y.z.zip from this page. As above unpack it into c:\rcptarget.
- Download the open source components used in Nyota opensource_libs-0.4.0.zip from this page and also unpack them into c:\rcptarget.
[edit] Start your Eclipse IDE
- Start Eclipse (i.e. from c:\eclipse) and switch to a newly created workspace (i.e. c:\workspace)
- Open Window -> Preferences -> Plug-in Development -> Target Platform.
- In the field "Location" select the RCP Target Environment you previously created and press OK. (i.e. c:\rcptarget\eclipse)
- make sure that Eclipse workspace compiler setting are Java 5.0 or higher (Windows -> Preferences -> Java -> Compiler)
- make sure you use a JDK or JRE 5.0 or higher (Windows -> Preferences -> Java -> Installed JREs)
[edit] Setup Nyota Sample
- Download the Nyota samples package nyota_sample_with_src_x.y.z.zip
- Import it into your workspace (Using File -> Import -> General -> Existing Projects into Workspace -> (and then click the radiobutton 'Select archive file') select the zip-archive nyota_sample_with_src-x.y.z.zip, check all projects in the list and press OK.
[edit] Try
- Now you should be in a position where everything compiles.
- You can start the .launch descriptor "Nyota Sample Server" to start the server. (from the project de.compeople.nyota.sample.pingpong.server)
- You can start the .launch descriptor "Nyota Sample Client" which starts the client and does some Remote Calls. (from the project de.compeople.nyota.sample.pingpong.client)
Problems ? Mail: eclipse@compeople.de
