Compiling the Modelio plugins

Configure Eclipse

  1. Launch Eclipse
  2. Set the current workspace to the root directory of the modelio_sources
  3. Import the modelio plugins projects
    1. Run ‘File / Import’
    2. Choose ‘General / Existing Projects into Workspace’
    3. Select your current workspace directory, and validate.
  4. Configure the ‘target’ definition
    1. Go to the RCPTARGET project
    2. Open the rcp.target file
    3. In the “Target Definition” window, click on the “Set as Target Platform”

Set as Target Platform

Eclipse should now be displaying the modelio.plugins projects in the workspace tree.

Compile

  1. From the Eclipse menu, launch the ‘Project/Clean’ command
  2. From the Eclipse menu, launch the ‘Project/BuildAll’ command
  3. Check for compilation errors

Test the build

You can test Modelio by running it into Eclipse.

  1. Find the ‘PRODUCTS/ project in the workspace tree and unfold its contents.
  2. Open the ‘modelio-os.product’ definition. This opens an Eclipse editor on it.
  3. In the opened Editor launch the ‘Launch an Eclipse application’ command.

fig 1

<< getting sources | Package the Modelio application >>

set_as_target_platform.png (70.5 KB) Frédéric Ferran, 27 June 2013 11:22

launch_modelio.png (14.8 KB) Frédéric Ferran, 27 June 2013 11:29