Skip to content

Framesoc development environment setup

Generoso Pagano edited this page May 4, 2015 · 8 revisions

Summary

This page describes how to configure a working Eclipse Plugin Development Environment for Framesoc. The procedure described has been tested under Eclipse Kepler and Luna. For different versions of Eclipse some change could be necessary.

Requirements

System setup

After cloning the git repository follow these steps:

  • Install the latest version of 'Eclipse for RCP and RAP Developers' (version Luna 4.4.2 recommended)

  • Install the Tycho m2e connector

    • Window -> Preferences -> Maven -> Discovery
    • Press the Open Catalog button
    • Activate the Tycho Configurator
    • Click on Finish and follow the installation instructions

    If the Tycho Configurator is not present in the Catalog, you can still install it using the update site:

  • Import in the Eclipse workspace all the plugins contained in the repository src directory

    • Launching Eclipse for the first time you will be asked to set a workspace:
      • chose a folder which is outside the repository
    • Import the Framesoc plugins
      • File -> Import -> General -> Existing Projects into Workspace
      • Set the repository src as root directory
      • Be sure that all projects folders are checked
      • Do not check Copy projects into workspace
      • Press Finish
  • Import in the Eclipse workspace also the plugins available in the framesoc.importers repository

    • clone this repository
    • do the same as before to import the plugins in the Eclipse workspace
  • Build all the plugins

    • Project -> Clean... (be sure that Build Automatically is checked)
    • Choose Clean all projects
    • Press Ok
  • Launch the Framesoc Eclipse Application

    • Right click on the fr.inria.soctrace.framesoc.core plugin
    • Run As -> Eclipse Application

Java Heap Issue

In order to be able to use Framesoc you might need to increase the maximum amount of memory available for the JVM, setting it to at least 4096 MB for best performance. To do this, you need to:

  • Go to Run -> Run Configurations...
  • Select the entry on the left corresponding to the Eclipse Application launch configuration you created when launching Framesoc for the first time.
  • Select the Arguments tab.
  • Add (or modify) the -Xmx argument in the VM arguments text box, with the following: -Xmx4096m
Clone this wiki locally