[QVTo] Blackbox library support in standalone mode [message #695183] |
Mon, 11 July 2011 08:30 |
Kirsten M. Z. Messages: 132 Registered: July 2010 |
Senior Member |
|
|
According to an older thread (http://www.eclipse.org/forums/index.php/mv/msg/197633/658055/#msg_658055; an Eclipse extension point is required etc.), I expect that blackbox library support is not available in QVTo standalone mode.
Is this still true (Indigo release)?
However, if anyone is interested in a working solution I created, please leave a message here, especially QVTo developers who want to integrate something into the official packages. I patched some blackbox classes, the unit resolver, etc.
Currently, such registrations of libraries are possible with my patch:
JavaBlackboxProvider provider = new JavaBlackboxProvider();
provider.addDescriptor(
"lib.TransformationLib",
null,
"xxx.lib",
"xxx.lib.TransformationLib",
"TransformationUtilsLib",
Arrays.asList(new String[] {
"http://www.eclipse.org/emf/2002/Ecore",
"http://www.eclipse.org/uml2/3.0.0/UML" }));
BlackboxRegistry.INSTANCE.addProvider(provider);
Afterwards, standalone QVTo transformations with blackbox support works.
Would be nice if the official version would support blackbox libraries in standalone mode.
[Updated on: Mon, 11 July 2011 08:34] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03601 seconds