Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » QVT-OML » Using blackbox in a qvt transformation called by java
Using blackbox in a qvt transformation called by java [message #1018513] Thu, 14 March 2013 01:09 Go to next message
sohaib soso is currently offline sohaib sosoFriend
Messages: 33
Registered: March 2012
Member
Hi,
I use a blackbox in my qvto transformation. It works fine when I launch
the transformation manually, but when I use java to execute the
transformation it fails. The obtained message sais:

Compilation errors found in unit
'platform:/plugin/org.qvt.transformation/model/Transformation.qvto'

I think that the imported blackbox package can't be found. What should I
modify to fix the problem?

I would appreciate your help, thanx a lot
Re: Using blackbox in a qvt transformation called by java [message #1018646 is a reply to message #1018513] Thu, 14 March 2013 08:52 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi

I'm certainly not clever enough to help you without knowing

what errors you get
what you have written that might need modifying
......

Regards

Ed Willink


On 14/03/2013 01:09, chadi assem wrote:
> Hi,
> I use a blackbox in my qvto transformation. It works fine when I
> launch the transformation manually, but when I use java to execute the
> transformation it fails. The obtained message sais:
>
> Compilation errors found in unit
> 'platform:/plugin/org.qvt.transformation/model/Transformation.qvto'
>
> I think that the imported blackbox package can't be found. What should
> I modify to fix the problem?
>
> I would appreciate your help, thanx a lot
>
>
>
>
>
Re: Using blackbox in a qvt transformation called by java [message #1018863 is a reply to message #1018513] Thu, 14 March 2013 15:26 Go to previous message
Adolfo Sanchez-Barbudo Herrera is currently offline Adolfo Sanchez-Barbudo HerreraFriend
Messages: 260
Registered: July 2009
Senior Member
Hi Chadi,

This looks like the problem we are discussing in a bugzilla[1], although
I'm not sure how you are launching that transformation in Java

I suggest the following:

1. You could debug the java code, to obtain more information of the QVTo
compilation error.
2. Try a workaround, by deploying your transformation, that is,
declaring an extension for the
"org.eclipse.m2m.qvt.oml.runtime.qvtTransformation" extension point. Try
to include the following snippet in your plugin.xml file:

<extension
point="org.eclipse.m2m.qvt.oml.runtime.qvtTransformation">
<transformation
file="model/Transformation.qvto"
id="model.Transformation">
</transformation>
</extension>
3. Provide more information about what you are specifically doing

Please, let us know your findings, Ed suggested me to create some kind
of Q&A in the wiki and I'm going to do so with some recurrent questions
(Although this one looks like it will probably sorted out by the
bugzilla resolution).

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=390182

Cheers,
Adolfo.
On 14/03/2013 01:09, chadi assem wrote:
> Hi,
> I use a blackbox in my qvto transformation. It works fine when I launch
> the transformation manually, but when I use java to execute the
> transformation it fails. The obtained message sais:
>
> Compilation errors found in unit
> 'platform:/plugin/org.qvt.transformation/model/Transformation.qvto'
>
> I think that the imported blackbox package can't be found. What should I
> modify to fix the problem?
>
> I would appreciate your help, thanx a lot
>
>
>
>
>
Previous Topic:Referencing XSD Components from Java Blackbox
Next Topic:Memory Leak
Goto Forum:
  


Current Time: Sat Apr 27 04:41:22 GMT 2024

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

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

Back to the top