Step 2: Setup Source and Build Paths
- Optional - Delete the src folder under your project main folder (you do not need it)
- Right-Click on the project you have just created
- Select Properties from the context menu
- Select Java Build-path from the tree on the left of the dialog box
- Select the Source Tab
- Click on Add Folder button
- Expand the plugins folder
- For each plugins sub-folder check the src sub-folder (if present)
- Click OK on the Source Selection Dialog
- The result should be as follows
- Select the Libraries Tab
- Click on Add JARs button
- For each plugins sub-folder check the lib sub-folder and select all the jar files in it and then click on OK
- Click on Add JARs button again
- Expand the ogsi/equinox folder and select the three jars inside it, namely: org.eclipse.equinox.common_3.3.0.v20070426.jar, org.eclipse.equinox.registry_3.3.0.v20070522.jar, org.eclipse.osgi_3.3.0.v20070530.jar
- The result should look like the following
- Click on OK