How to install the EDNA Eclipse tools

From EdnaWiki
Jump to: navigation, search

The "UML 2 XSD" tool is an Eclipse plugin written by Karsten Thoms who is working for a company called Itemis. This plugin is needed for converting a Topcased UML model to an XSD file which then can be used for generating the data binding classes using e.g. generateDS.

OBS! If you run Eclipse Galileo you need additional update sites, see the section concerning Galileo below

Adding the EDNA update site to Eclipse

  • In Eclipse, open Help->Install New Software...
  • In the "Install" popup window, click on "Add..."
  • In the "Add Repository" popup window, enter as name "EDNA" and as location "http://www.edna-site.org/eclipse/updates".

Installing EDNA tools for Eclipse Helios

Installing "UML 2 XSD"

  • In the "Install" popup window, choose the EDNA update site in the "Work with" field
  • You should then see "UML 2 XSD" in the table below.
  • Check the tick-box next to "UML 2 XSD" and click on Next.
  • Follow the instructions. Accept the licence agreement agreement.
  • Once the installation is finished restart the workspace.

Installing the DSL Datamodel editor

  • In the "Install" popup window, choose the EDNA update site in the "Work with" field
  • You should then see "EDNA Datamodel DSL" in the table below.
  • Check the tick-box next to "EDNA Datamodel DSL" and click on Next.
  • Follow the instructions. Accept the licence agreement agreement.
  • Once the installation is finished restart the workspace.

Installing EDNA tools for Eclipse Galileo

OBS! There are for the moment no instructions on how to install the DSL datamodel editor on Galileo. If you really need this editor on Galileo please send an email to edna-support@esrf.fr.

This is more complicated so the easiest solution is probably to switch to use Eclipse Helios. If you have to install UML2XSD on Galileo follow these instructions:

Install XPAND/XTEND

  • In Eclipse, open Help->Install New Software...
  • In the "Install" popup window, click on "Add..."
  • In the "Add Repository" popup window, enter as name "XPAND" and as location "http://download.eclipse.org/modeling/m2t/xpand/updates/".
  • In the table select the following components: xpand and xtend
  • Follow the instructions. Accept the licence agreement agreement.
  • Once the installation is finished restart the workspace.

Install MWE

  • In the "Install" popup window, click on "Add..."
  • In the "Add Repository" popup window, enter as name "MWE" and as location "http://download.eclipse.org/modeling/emft/mwe/updates/".
  • In the table select the following components: MWE SDK
  • Follow the instructions. Accept the licence agreement agreement.
  • Once the installation is finished restart the workspace.


Installing "UML 2 XSD"

  • In the "Install" popup window, click on "Add..."
  • In the "Add Repository" popup window, enter as name "EDNA" and as location "http://www.edna-site.org/eclipse/updates".
  • You should then see "UML 2 XSD" in the table
  • Check the tick-box next to "UML 2 XSD" and click on Next.
  • Follow the instructions. Accept the licence agreement agreement.
  • Once the installation is finished restart the workspace.