|
|
Re: Using blackbox in a qvt transformation called by java [message #1018863 is a reply to message #1018513] |
Thu, 14 March 2013 15:26  |
Adolfo Sanchez-Barbudo Herrera 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
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03381 seconds