[QVTo] Error when executing transformation from Java. [message #554312] |
Sat, 21 August 2010 07:51 |
Eclipse User |
|
|
|
Hi,
I am trying to run a transformation from an RCP app. (Yes, QVTO is nice
to import from i.e. MS-Excel).
I follow the instructions here:
http://wiki.eclipse.org/QVTOML/Examples/InvokeInJava
However the execution fails with the following error:
Could not find unit
'platform:/resource/NetXStudio/transforms/XLS2NETXSTUDIO.qvt o'
The referred resource does exist, but still the execution fails.
I have debugged a bit more and the following code in UnitResolverFactory
seems not to find some factories:
public UnitResolverFactory getFactory(Object source) {
for (UnitResolverFactory nextFactory : fFactories) {
if(nextFactory.isAccepted(source)) {
return nextFactory;
}
}
return null;
}
Here fFactories is empty.
Could it be I need to provide some EPackages as this is an RCP?
(Although, I do register my EMF models ).
Thanks Christophe
|
|
|
Powered by
FUDForum. Page generated in 0.03201 seconds