modernization in eclipse

Post on 11-May-2015

261 Views

Category:

Education

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Slides from my talk in "Jornadas de Software Libre y Web 2.0", "Semana de la Ciencia y la Ingeniería", Cádiz, November 22nd 2012

TRANSCRIPT

Modernizationin Eclipse

Javier Luis Cánovas Izquierdojavier.canovas@inria.fr

Universidad de CádizNoviembre de 2012

For the practical session

● cadiz-seminar-metamodels.zip● cadiz-seminar-A.zip● cadiz-seminar-b.zip● RegisterMetamodel_1.0.0.jar● org.eclipse.m2m.atl.projectors.xml_0.4.0.

jar

http://goo.gl/bea1t

http://goo.gl/86spBATL SDK + Acceleo SDK + MoDisco SDK

flickr/paurian

Who am I?

Where am I from?

The team

AtlanMod people

Our place

Our place in MDD

My place

Outline

flickr/urbangarden

Model-DrivenDevelopment

MDE?

Model-Driven Engineering

J. Bézivin, “Model Driven Engineering: An Emerging Technical Space,” in GTTSE conf., 2006, vol. 4143, pp. 36–64.

Model-Driven Engineering

J. Bézivin, “Model Driven Engineering: An Emerging Technical Space,” in GTTSE conf., 2006, vol. 4143, pp. 36–64.

Concepts

Concepts

Concepts

Concepts

The 3+1 layer model

MDE Equation

http://modeling-languages.com/models-transformations-software/

MDE Equation

http://modeling-languages.com/models-transformations-software/

Application Scenarios

Application Scenarios

Application Scenarios

fotopedia/lokulin

Model-DrivenSoftware Modernization

What for?

What for?

The horse-shoe model

R. Kazman, S. G. Woods, and S. J. Carrière, “Requirements for Integrating Software Architecture and Reengineering Models : CORUM II,” in WCRE conf., 1998, pp. 154–163.

The MDD-based Horse-shoe model

The MDD-based Horse-shoe model

flickr/morjetom

Eclipse

What it is?

What it is?

Project Structure

Project Structure

EMF - Ecore

EMF - Ecore

EMF - Ecore

EMF - Ecore

EMF - Ecore

EMF - Ecore

The 3+1 layer model

Eclipse Modeling Project

Eclipse Modeling Project

Eclipse Modeling Project

Eclipse Modeling Project

Eclipse Modeling Project

Eclipse Modeling Project

Eclipse Modeling Project

photopedia/marfis75

MoDisco

MoDisco = Model Discovery

"An Eclipse framework to support the elaboration of Model-Driven Reverse Engineering solutions."

Reverse Engineering in MoDisco

Discover

Reverse Engineering in MoDisco

MoDisco support for Java

MoDisco support for XML

MoDisco support for JSP

Discovery manager

Understand

Reverse Engineering in MoDisco

Model Browser

Transform

Transform

Reverse Engineering in MoDisco

MoDisco Architecture

flickr/-staci-

MoDiscoexamples

JUnit migration

Java source codeJUnit3 code

Java modelJUnit3

Java metamodel

conforms to

MoDiscoJava

Discoverer

MoDiscoModel

Browser

JUnit migration

MoDiscoModelBrowser

Java modelJUnit3

JavaCustomization

JUnit3Queries

JUnit3Facets

uses

JUnit migration

Java source codeJUnit4 code

JUnit3 to JUnit4M2M Transformation

Java modelJUnit4

Java modelJUnit3

MoDisco Java

Generator

JUnit3Facets

Calculating metrics from code

Viewpoints from source code

Outline

flickr/paul goyette

PracticalSession

Installing the environment1. Download Eclipse Modelling tools

http://www.eclipse.org/downloads/packages/ eclipse-modeling-tools/junosr1

2. Unzip the file into a folder3. Execute Eclipse4. Update Eclipse (Help / Install new software...)

a. Select Juno repositoryb. Select Modelling / ATL SDKc. Select Modelling / Acceleo SDKd. Select Modelling / MoDisco SDKe. Update the platform

5. Copy into dropins folderorg.eclipse.m2m.atl.projectors.xml_0.4.0.jar

6. Copy into plugins folderRegisterMetamodel_1.0.0.jar

7. Reboot Eclipse

Downloading the examples

● cadiz-seminar-metamodels.zip● cadiz-seminar-A.zip● cadiz-seminar-b.zip● RegisterMetamodel_1.0.0.jar● org.eclipse.m2m.atl.projectors.xml_0.4.0.

jar

http://goo.gl/bea1t

top related