- Download the Eclipse IDE installer from https://www.eclipse.org/downloads/ (version 2019-06 is tested)
- Install the Eclipse Modeling Tools version from the installer
- In Eclipse, install Sirius (6.1) from the Eclipse Marketplace, available in the Obeo Marketplace.
- Open GIT perspective
- Clone the CloudSimulator repository (File => Import, select Git => projects from Git, select Clone Uri)
- Enter the URL (from Github) in the URI field
- Clone Git repository and import these existing projects:
- com.example.load
- com.example.simulation
- uu.thesis.emf.metamodel
- uu.thesis.emf.metamodel.edit
- uu.thesis.emf.metamodel.editor
- uu.thesis.softwaresystemarchitecture.sample
- Unfold the com.example.model.load project
- Open loadmodel.java (src -> com.example.model.load)
- Adjust URI.createURI(“/pathtoGitfolder/git/CloudSimulator/uu.thesis.softwaresystemarchitecture.sample/My.softwaresystemarchitecture”)
- Unfold the com.example.simulation project
- Open main.java (src -> com.example.simulation)
- Run Main (green play button)
- Simulation is started and metrics can be read in the console
- Install the graphical editor (Help => Install New Software…)
- Click on Add…
- Fill in for name: ‘Software System Architecture Editor’
- Click on Archive… and select uu.thesis.softwaresystemarchitecture.modeler.zip from the Git repository
- Select package, click Next > and install the graphical editor (you have to accept the license and approve to install an unsigned program)
- Unfold the uu.thesis.softwaresystemarchitecture.sample project
- Open representations.aird file
- Unfold SoftwareSystem (1) and double click on SoftwareSystem in the representation column
- The graphical editor will open in a new tab
- Adjust the model (in the editor) and simulate the deployment based on step 4
- Run Eclipse Application (green play button), a new Eclipse window will open
- Click on File => Import, unfold Git folder and select Projects from Git and click Next >
- Select Existing local repository and click Next >
- Click on Add… to add the CloudSimulator repository and click Next >
- Select uu.thesis.softwaresystemarchitecture.design, click Next >, and Finish the import
- The source file is now ready for use
- Repeat 1-3 and 5 for uu.thesis.softwaresystemarchitecture.sample
- Open representations.aird in uu.thesis.softwaresystemarchitecture.sample and double click on SoftwareSystem. There are two Software_Architecture_Description options, select the one with the folder in the icon.
Useful references