Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Run exported transformation
Run exported transformation [message #1404101] Tue, 29 July 2014 15:35 Go to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 209
Registered: June 2010
Senior Member
Hi,

In short: how to package qvto transformations in a plugin such that they can be executed from eclipse in a run configuration?

I've created a QVTo transformation using eclipse wizard: new Operational QVT transformation. That one works.

Now I exported the project holding the transformation using eclipse export as 'Deployable plugins and fragments'.

After restarting ecipse, I expected to be able to create a new run configuration executing the QVTo transformation as stored in my (exported) plugin. However trying to enter the transformation in the dialog, by using the 'browse' button, does not show the transformation. It shows an entry labeled "Platform" but that one does not contain anything.

Do I need to do something special to have eclipse recognize transformations that are stored in a plugin?

Greetings,
Wilbert.
Re: Run exported transformation [message #1404104 is a reply to message #1404101] Tue, 29 July 2014 15:50 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

Have you checked that everything is actually in the exported plugin.

I've not tried deplayable plugins, but certainl;y when building p[lugins
relevant files/folders must appear in build.properties.

Also worth exporting a canned launch config to see if that works.

Otherwise a Bugzilla with a repro.

Regards

Ed Willink


On 29/07/2014 16:35, Wilbert Alberts wrote:
> Hi,
>
> In short: how to package qvto transformations in a plugin such that
> they can be executed from eclipse in a run configuration?
>
> I've created a QVTo transformation using eclipse wizard: new
> Operational QVT transformation. That one works.
>
> Now I exported the project holding the transformation using eclipse
> export as 'Deployable plugins and fragments'.
> After restarting ecipse, I expected to be able to create a new run
> configuration executing the QVTo transformation as stored in my
> (exported) plugin. However trying to enter the transformation in the
> dialog, by using the 'browse' button, does not show the
> transformation. It shows an entry labeled "Platform" but that one does
> not contain anything.
> Do I need to do something special to have eclipse recognize
> transformations that are stored in a plugin?
>
> Greetings,
> Wilbert.
>
Re: Run exported transformation [message #1404186 is a reply to message #1404104] Wed, 30 July 2014 10:01 Go to previous messageGo to next message
Wilbert Alberts is currently offline Wilbert AlbertsFriend
Messages: 209
Registered: June 2010
Senior Member
Added bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=440737

Greetings,
Wilbert.
Re: Run exported transformation [message #1404310 is a reply to message #1404186] Thu, 31 July 2014 07:35 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
You have to register the deployed transformation using an extension point (as also replied in the bug report).

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension
point="org.eclipse.m2m.qvt.oml.runtime.qvtTransformation">
<transformation
file="transforms/PlatformBug.qvto"
id="transforms.PlatformBug">
</transformation>
</extension>
</plugin>
Previous Topic:How to evaluate OCL expression that is part of the input model
Next Topic:Dynamic set of input models
Goto Forum:
  


Current Time: Fri Apr 26 04:24:26 GMT 2024

Powered by FUDForum. Page generated in 0.03694 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top