Skip to main content



      Home
Home » Modeling » QVT-OML » Different URI
Different URI [message #1858356] Thu, 30 March 2023 05:11 Go to next message
Eclipse UserFriend
Hi! I am writing transformation in QVTo, and as model type I use
modeltype uml uses 'http://www.eclipse.org/uml2/3.0.0/UML';
However, when I launch the execution, for IN models it shows
'http://www.eclipse.org/uml2/5.0.0/UML'.
So the input models should conform to version 5.0.0. How can I force QVTo to use the 3.0.0 version?
Re: Different URI [message #1858362 is a reply to message #1858356] Thu, 30 March 2023 13:25 Go to previous message
Eclipse UserFriend
Hi

The UML2 project only supports loading vintage files; there is no support for creating vintage files. (UML2 3.x is at least 12 years old).

If you really want to create such files you have a few non-trivial options
- write a custom variant of Resource that performs an M2M in Java as it saves
- enhance the UML2 project code to support vintage writing (Probably a UI to control the vintage is the hardest part)
- write a Java M2M to create what you want
- write an XML-level M2M (perhaps using org.eclipse.qvtd.xml).

More realistically, if you really want to live in the past do so consistently, install a 12 year old Java, Eclipse, EMF, UML2,.... Since QVTo has been 3.x for over 12 years you might be able to install a more modern QVTo.

But living in the past tends to just create more and more problems, you may need 12 year old hardware and OS. So just move on.

Regards

Ed Willink


Previous Topic:Output model into separate files
Next Topic:Resolution operations for objects in other containers.
Goto Forum:
  


Current Time: Sun Jun 15 15:41:59 EDT 2025

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

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

Back to the top