Skip to content

Latest commit

 

History

History
54 lines (31 loc) · 2.71 KB

How to develop in Eclipse.md

File metadata and controls

54 lines (31 loc) · 2.71 KB

Develop WIde OSGI bundles in Eclipse

Installation:

  1. Add e(fx)clipse and the PDE to your eclipse installation.

  2. Run the command mvn clean install pax:provision once in your {src} dir.

  3. Import all WIde bundles as maven project into eclipse. (Maybe there were some bundles added and it looks different at your working station).

  4. Add a new OSGI target definition as descripted below. Also add the {src}/runner/bundles dir and the eclipse installation to your target definition.

  5. Import the provided launch configuration located in {src}/doc/ide/eclipse/configuration/

  6. Add a new enviroment variable called WIDE_WORKSPACE to your system. This will tell the launch configuration where you want to run it. This might be your {src}/runner directory or your locale productive wide installation.

Troubleshooting:

    • Q: Eclipse throws error's when exporting bundles.
    • A: You need to install PDE correctly (step 1).
    • Q: OSGI complains about missing javafx classes.
    • A: You need to install e(fx)clipse correctly (step 1) & import the provided launch config. Also make sure that org.eclipse.fx.osgi & org.eclipse.fx.javafx bundles are added at runtime.