Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] Blackbox library support in standalone mode
[QVTo] Blackbox library support in standalone mode [message #695183] Mon, 11 July 2011 08:30 Go to next message
Kirsten M. Z. is currently offline Kirsten M. Z.Friend
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

Re: [QVTo] Blackbox library support in standalone mode [message #695244 is a reply to message #695183] Mon, 11 July 2011 11:15 Go to previous messageGo to next message
Dominic S. is currently offline Dominic S.Friend
Messages: 11
Registered: May 2011
Junior Member
I'd be interested in your solution! I'm especially wondering if you can use a java blackbox of the same (plugin) project where your transformations are located. During development, I always receive errors.

Best regards,
Dominic

[Updated on: Mon, 11 July 2011 11:18]

Report message to a moderator

Re: [QVTo] Blackbox library support in standalone mode [message #697902 is a reply to message #695244] Mon, 18 July 2011 10:13 Go to previous messageGo to next message
Eszter Hofmann is currently offline Eszter HofmannFriend
Messages: 16
Registered: July 2011
Junior Member
Hi,

I am also interested of your solution. Is there really no other way to register and use the java libraries in standalone mode?

Eszter
Re: [QVTo] Blackbox library support in standalone mode [message #718619 is a reply to message #695183] Wed, 24 August 2011 21:03 Go to previous message
Sergey Boyko is currently offline Sergey BoykoFriend
Messages: 171
Registered: July 2009
Senior Member
Hi Kirsten,

Would you mind to submit your solution as a patch for the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=326871 ?

Then I'll be able to review it and incorporate into the QVTo source stream.

Regards,
Sergey
Previous Topic:[QVT] missing model elements
Next Topic:How to solve ATL references?
Goto Forum:
  


Current Time: Wed Nov 13 08:28:46 GMT 2024

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

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

Back to the top