Difference between revisions of "M2M/QVT Declarative Installation"

From Eclipsepedia

< M2M
Jump to: navigation, search
m (Install Eclipse 3.6 (Helios))
Line 19: Line 19:
 
From http://www.java.com/en/download/index.jsp.
 
From http://www.java.com/en/download/index.jsp.
  
===Install Eclipse 3.6M4===
+
===Install Eclipse 3.6 (Helios)===
  
e..g Extract All from eclipse-SDK-3.6M4-win32.zip.
+
e.g Extract All from [http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php eclipse-SDK-3.6-....zip].
 
+
===Install IMP Runtime===
+
 
+
Window->Install New Software from http://download.eclipse.org/modeling/mdt/updates/milestones/ and select IMP IDE Runtime->IMP Runtime (Incubation) 0.1.102.
+
 
+
(No need to restart Eclipse; just Apply changes.)
+
 
+
===Install Other Projects===
+
  
Download https://build.eclipse.org/hudson/job/cbi-m2m-qvtd-0.8-nightly/42/artifact/build/I200912290528/m2m-qvtd-Update-0.8.0M4.zip then
+
===Install QVTd and other Projects===
Window->Install New Software-Add->Archive the downloaded m2m-qvtd-Update-0.8.0M4.zip and select the root feature.
+
  
It may be necessary to Cancel and invoke Window->Install New Software again to see the e.g. jar:file:/C:/Temp/m2m-qvtd-Update-0.8.0M4.zip!/ as a site to work with.
+
Pending availability of the ZIP from the [http://www.eclipse.org/modeling/m2m/downloads/?project=qvtd QVTd Download Page] the ZIP may be obtained from [https://build.eclipse.org/hudson/job/cbi-m2m-qvtd-0.8-integration/lastSuccessfulBuild/artifact/ The Last Successful Build] currently [https://build.eclipse.org/hudson/job/cbi-m2m-qvtd-0.8-integration/lastSuccessfulBuild/artifact/build/R201006250836/m2m-qvtd-incubation-Update-0.8.0.zip R201006250836] which should be directly useable as an archive Update Site in Help->Install New Software.... However, since Eclipse complains that it is not an update site, it is necessary to download the ZIP to a local disk and install from the local copy of the file.
  
 
Restart Eclipse.
 
Restart Eclipse.
Line 74: Line 65:
 
e.g Extract All from [http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php eclipse-SDK-3.6-....zip].
 
e.g Extract All from [http://download.eclipse.org/eclipse/downloads/drops/R-3.6-201006080911/index.php eclipse-SDK-3.6-....zip].
  
===Install MDT UML2 SDK 3.1.0M4 (and EMF-XSD 2.6.0M4)===
+
===Install MDT UML2 SDK 3.1.0 (and EMF-XSD 2.6.0)===
  
Window->Install New Software from http://download.eclipse.org/modeling/mdt/updates/milestones/ and select UML2 SDK 3.1M4.
+
Window->Install New Software from Helios - http://download.eclipse.org/releases/helios/ and select Modeling->UML2 Extender SDK.
  
 
===Install Subclipse===
 
===Install Subclipse===

Revision as of 01:45, 10 July 2010

Contents

Installation of QVTd Editors

The following steps establish an Eclipse workspace with

  • installed plugins for
    • EMF
    • UML2
    • MDT/OCL
    • EMF Query
    • EMF Transaction
    • EMF Validation
    • LPG 2 Runtime
    • IMP Runtime
    • QVT Declarative

Example projects can then be created to demonstrate the editor.

The first few steps may be omitted if you are reusing an existing Eclipse environment.

Install Java 1.5 or 1.6

From http://www.java.com/en/download/index.jsp.

Install Eclipse 3.6 (Helios)

e.g Extract All from eclipse-SDK-3.6-....zip.

Install QVTd and other Projects

Pending availability of the ZIP from the QVTd Download Page the ZIP may be obtained from The Last Successful Build currently R201006250836 which should be directly useable as an archive Update Site in Help->Install New Software.... However, since Eclipse complains that it is not an update site, it is necessary to download the ZIP to a local disk and install from the local copy of the file.

Restart Eclipse.

Create an Example Project

Invoke New->Project ... from the right button menu within the Package Explorer.

Select e.g. Examples->QVT (Queries, Views and transformation) Projects->Royal and Loyal Example.

Click Finish.

Double click /org.eclipse.qvt.declarative.examples.ocl.royalandloyal/oclsrc/RoyalAndLoyal/RoyalAndLoyal.ocl

Installation of QVTd Development Environment

The following steps establish an Eclipse workspace with

  • installed plugins for
    • EMF
    • UML2
    • Subclipse
  • checked out projects for
    • QVT Declarative
    • MDT/OCL
    • EMF Query
    • EMF Transaction
    • EMF Validation
    • IMP Runtime
    • LPG 2 Runtime

A nested Eclipse may then be invoked and Example projects created to demonstrate the editor.

The first few steps may be omitted if you are reusing an existing Eclipse environment.

Install Java 1.5 or 1.6

From http://www.java.com/en/download/index.jsp.

Install Eclipse 3.6 (Helios)

e.g Extract All from eclipse-SDK-3.6-....zip.

Install MDT UML2 SDK 3.1.0 (and EMF-XSD 2.6.0)

Window->Install New Software from Helios - http://download.eclipse.org/releases/helios/ and select Modeling->UML2 Extender SDK.

Install Subclipse

(This required to access the IMP SVN repository. If you prefer subversion edit the foot of qvtd.psf after the next step)

Window->Install New Software from http://subclipse.tigris.org/update_1.6.x and select all features. (You may exclude the Mylyn integration to avoid a number of dependent downloads.)

Get qvtd.psf

Either: Save http://eclipse.org/modeling/m2m/qvtd/resources/qvtd.psf to some temporary file in your workspace.

Or: Check out HEAD/www/modeling/m2m/qvtd from the /cvsroot/org.eclipse repository on dev.eclipse.org.

Import QVTd, MDT/OCL, EMF Query, EMF Transaction, EMF Validation, IMP Runtime, LPG 2 Runtime

Invoke Import Project Set... from the right button menu of qvtd.psf.

Build the Examples

Invoke Run As->Ant Build from the right button menu of org.eclipse.qvt.declarative.examples/buildZips.xml.

Invoke Refresh from the right button menu of org.eclipse.qvt.declarative.examples/zips.

Run a nested Eclipse

Invoke Run As->Eclipse Application from e.g. org.eclipse.qvt.declarative.examples/plugin.xml.

Close the Intro page.

Create an Example Project

Invoke New->Project ... from the right button menu within the Package Explorer.

Select e.g. Examples->QVT (Queries, Views and transformation) Projects->Royal and Loyal Example.

Click Finish.

Double click /org.eclipse.qvt.declarative.examples.ocl.royalandloyal/oclsrc/RoyalAndLoyal/RoyalAndLoyal.ocl