Skip to content

setup a development machine for genlab

samthiriot edited this page Mar 21, 2016 · 16 revisions

If you are willing to contribute to genlab, you may use this configuration

prerequires

  • a Linux machine
  • install a recent Sun JVM (more than version 7)
  • install Eclipse Mars for RCP and RAP
  • install (from help/install new software)
    • the graphiti plugins (from the install software utility): Graphiti, Graphiti SDK, Graphiti Export, Graphiti Tools
    • add the EMF plugins: "EMF - Eclipse Modeling Framework SDK" and "EMF Model Transaction SDK"
    • add Eclipse Java Development Tools (JDT)
you may also install:
  • graphviz

retrieve a copy of the repository

create (or move to) the directory which will contain your genlab workspace, for instance:

 $ cd ~/workspaceJunoRCP

clone the repo:

  $ git clone https://github.com/samthiriot/genlab.git

move into it:

 $ cd ~/workspaceJunoRCP/genlab

now start eclipse Juno RCP; as a workspace, select ~/workspaceJunoRCP/genlab (NOT ~/workspaceJunoRCP/).

Once Eclipse is launched: File -> Import -> Existing Projects into workspace and select all the genlab plugins

prepare GIT for push

You first require a github account.

Define your username and password:

 $ git config --global user.name "My name"
 $ git config --global user.email "[email protected]"

To be able to push, update the URL:

 git remote set-url origin https://<YOUR_USERNAME>@github.com/samthiriot/genlab.git