Thursday, April 5, 2012

How to install Eclipse with QVT [Tutorial]

Yes, we can execute QVTo (QVT Operational) transformations with Eclipse!! If you already installed the Eclipse Modeling Tools, you just need to install the Operational QVT plugin (Jump to step 3). If not, here it goes:

Quick and Dirty version:

  1. Download Eclipse Modeling Tools
  2. Extract and run it
  3. In the Eclipse's 'Help' menu, click at 'Instal Modeling Components'
  4. Select 'Operational QVT' and follow the wizard
If you wanna know how to configure and run a QVT Operational transformation, check our other tutorial.

Thorough version:

  1. Go to the Eclipse Modeling Tools site and download it. Wait, you don't know the Eclipse website url? Let's find out


  2. Ok, now we know it: http://www.eclipse.org/

    Click at 'downloads', select the operating system and download it.

    Eclipse home
    Download area - Select OS and then download the Eclipse Modeling Tools
    Download it

  3. Waaaait for it. Once it is downloaded, move it to the folder you want it to be installed in (Let's say, 'C:\EclipseModeling') and extract it there. Waaaait for it. A 'eclipse' folder will be created. Open it and run Eclipse
  4. Extract it

    And run eclipse.exe (if Windows)

    The Eclipse will ask you to select a workspace folder, i.e., a project folders. Browse for a folder (or use the default one) and click 'Ok'.
    In doubt, just press 'Ok'

  5. Once Eclipse is open, go in the 'Help' menu and click at 'Instal Modeling Components'
  6. In the wizard that follows, select 'Operational QVT' (in the Model to Model section) and click 'Finish'

  7. Waaaait for it. Press 'Next' and then 'Next' again.
    'Next' ...
    ...and 'Next' again

    Here you are expected to read the license agreement, select 'I accept the terms of the license agreement' and click 'Finish'.
    'I accept' and 'Finish'
  8. Waaaait for it. When the installation is finished, you'll be requested to restart your Eclipse. Go on.
  9. Waaaait for it (I promise you this is the last one). Now you're done! If you wanna check it, go to 'File/New/Other...' menu (Ctrl+N) and see that you can create a new 'Model to Model Transformation/Operational QVT Project'.
File/New/Other...

New 'Operational QVT Project'
That's it! If you wanna know how to configure and run a QVT Operational transformation, check our other tutorial.

No comments:

Post a Comment