Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1052270/#msg_1052270
I create my graphical models with the modeling platform "MID Innovator" and export them to XMI. Then I import them to the eclipse project which works pretty fine as all model elements are created there. If I then try to import them to the VIATRA model space, only 2 model elements are taken over: The model itself and a package or in other cases one specific class.
I attached the bundle of files that are created by Innovator. The relevant file to import is "Fowler's GUI classes example.uml".
I would very much appreciate your support ).
Thanks and kind regards, Alex]]>Alexander Fülleborn2013-04-29T22:05:13-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1053056/#msg_1053056
thanks for providing an example for your question. We will take a look at it soon and get back to you!]]>Abel Hegedus2013-05-02T09:19:46-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1053085/#msg_1053085
thanks a lot! Your support is very much appreciated.
KR, Alex]]>Alexander Fülleborn2013-05-02T11:24:17-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1053106/#msg_1053106
That means that there is some kind of configuration difference between our environments.
- Can you describe the versions you use: Eclipse, VIATRA2, UML, VIATRA2 UML importer?
- Do you run the importer in a host or runtime Eclipse?
- Can you either run Eclipse with console log or a runtime Eclipse to see if there are any error messages when you try to import the model? If you can find the log, please attach the appropriate parts.
- Did you try to create a clean VPM model space?
]]>Abel Hegedus2013-05-02T13:21:26-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1053386/#msg_1053386
here is my version data:
Eclipse-Version:
(Juno-Release)
1.5.1.20120917-1257
VIATRA2
(VIATRA2 R3 Model Transformation Framework Core Components) Version 3.3.0.201205150016
UML
(UML2 Extender SDK) Version 4.02.v20130114-0902
VIATRA2 UML Importer:
(VIATRA2 EMF Importer) Version 0.4.0.201203110015
I run Eclipse in a runtime mode.
I will in parallel try to find a log of the import process.
I tried also to run the import in a clean VIATRA model space. However, it still does not work ;-(.
Thanks and kind regards, Alex]]>Alexander Fülleborn2013-05-04T21:46:57-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1053415/#msg_1053415
I believe that the VIATRA UML importer only works with UML 3.1 or less.
Also, the EMF importer and the UML importer are different things. You _can_ import UML models as EMF models, but you will have to first import the uml.ecore metamodels with the EMF metamodel importer.
Follow-up questions:
- do you have a "UML 2.2 importer" menu item in your model space -> native importers list?
- do you have a "uml" entity in your model space, or is there only "nemf"?
I will ask our team members if anyone ported the UML importer to the 4.0 version (it requires the regeneration of a lot of code from the metamodel, and some manual changes to support profiles).]]>Abel Hegedus2013-05-05T09:14:05-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1057852/#msg_1057852
I believe that the VIATRA UML importer only works with UML 3.1 or less.
> In the Juno release of Eclipse, this is not offered in the "Install Software" area.
Also, the EMF importer and the UML importer are different things. You _can_ import UML models as EMF models, but you will have to first import the uml.ecore metamodels with the EMF metamodel importer.
Follow-up questions:
- do you have a "UML 2.2 importer" menu item in your model space -> native importers list?
> Yes, I have this menu item.
- do you have a "uml" entity in your model space, or is there only "nemf"?
> Yes, I have a "uml" entity in my model space.
I will ask our team members if anyone ported the UML importer to the 4.0 version (it requires the regeneration of a lot of code from the metamodel, and some manual changes to support profiles).
> Thanks. This would be great, of course. Do you already have an answer to this? What are your plans?
Kind regards, Alex]]>Alexander Fülleborn2013-05-09T10:27:19-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1057882/#msg_1057882
we have not ported the importer to UML 4.0 and I'm sorry to say that we have no timeframe for doing it.
Unfortunately, we don't have any free development resources in May, but we are planning a release in the summer and we might be able to include this as well.
As for installing UML2 Tools, I know that the Juno update site includes only the newer version. Older versions can be found at the downloads section of http://www.eclipse.org/modeling/mdt/?project=uml2 or from the Helios Update Site.
Since I managed to import your models in an environment with Eclipse UML 3.1, you should be able to do that as well.
Finally, the importer plugin erroneously only gives a minimum version (3.0.0) for UML and no maximum version (3.1), which is why you could install it but it did not work correctly.]]>Abel Hegedus2013-05-09T14:49:36-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1057905/#msg_1057905
This is not correct. UML2 Tools is dead; the project is not listed as an
Eclipse project.
Since MDT/UML2 made a major version change for Juno to support UML
2.4.1, all UML projects that have not been built since then are only
useable in legacy pre-Juno configurations.
Use Papyrus if you want UML diagrams.
Regards
Ed Willink
On 09/05/2013 15:49, Abel Hegedus wrote:
>
> As for installing UML2 Tools, I know that the Juno update site
> includes only the newer version. Older versions can be found at the
> downloads section of http://www.eclipse.org/modeling/mdt/?project=uml2
> or from the Helios Update Site.
> Since I managed to import your models in an environment with Eclipse
> UML 3.1, you should be able to do that as well.]]>Ed Willink2013-05-09T17:14:35-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1057906/#msg_1057906
thanks Ed for the clarification!
I meant to say MDT/UML2 (or UML2 Extender SDK as the feature is called), since we only need the metamodels, not UML2 Tools for diagrams.
]]>Abel Hegedus2013-05-09T17:19:50-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1057921/#msg_1057921
thanks a lot for this quick and valuable information!
According to your proposals, I will now deinstall the 4.0 UML SDK from Eclipse and install the 3.0.X version. Of course, I can imagine your development time restrictions, and it is great to learn that you plan a release this summer for the importer for 4.0.
I will try out your proposal and let you know the results.
Kind regards, Alex]]>Alexander Fülleborn2013-05-09T19:25:34-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1058043/#msg_1058043
I ended up installing the Galileo release. Everything went fine (all dependencies were fulfilled), but when trying to install VIATRA2, I got an error message "Problems downloading artifact: osgi.bundle, org.eclipse.m2m.qvt.oml.runtime, 2.0.0.v20090608-830. File has invalid content:C:\DOKUME~1\ADMINI~1\Temp\signatureFile6033411915178465886.jar Invalid content: lib/antTasks.jar". I tried to install from http://static.info.mit.bme.hu/viatra/update/R3.1.
Do you have any idea how to solve this?
Thanks a lot and kind regards, Alex]]>Alexander Fülleborn2013-05-10T15:20:45-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1058109/#msg_1058109
I don't know where you found that link, but please use the update site found here http://viatra.inf.mit.bme.hu/update/viatra-ci/
Unfortunately the UML Importer feature is also called EMF Importer, so it's a bit confusing, we will correct that. If you only want the UML Importer, select the one which has the version ending with "46" (see the list of included features here http://incquery.net/update/viatra-ci/features/).
As for the error message, I don't think VIATRA2 uses QVT in any way, which would mean the problem may not be strictly related to VIATRA2.
Hope this helps!]]>Abel Hegedus2013-05-11T14:10:25-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1058122/#msg_1058122
The Internet is not 100% reliable. It looks like you just got a bad
download.
Regards
Ed Willink
On 10/05/2013 16:20, Alexander Fülleborn wrote:
> Hello again,
>
> I ended up installing the Galileo release. Everything went fine (all
> dependencies were fulfilled), but when trying to install VIATRA2, I
> got an error message "Problems downloading artifact: osgi.bundle,
> org.eclipse.m2m.qvt.oml.runtime, 2.0.0.v20090608-830. File has invalid
> content:C:\DOKUME~1\ADMINI~1\Temp\signatureFile6033411915178465886.jar
> Invalid content: lib/antTasks.jar". I tried to install from
> http://static.info.mit.bme.hu/viatra/update/R3.1.
>
> Do you have any idea how to solve this?
>
> Thanks a lot and kind regards, Alex]]>Ed Willink2013-05-12T04:57:39-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1058394/#msg_1058394
thanks a lot. I found that link from a description of the installation of VIATRA2, see http://www.theoinf.tu-ilmenau.de/~qurat/B2UProject/subsite/Uploads/InstallationGuide.pdf.
I will try your proposal...
KR, Alex]]>Alexander Fülleborn2013-05-13T21:26:56-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1061083/#msg_1061083
I have still not been able to import the model successfully. Can you provide me your versions according to your earlier answer, see:
"I have tried the example and could import the relevant file without problems, the resulting model element included the model for that file and the used profiles as well.
That means that there is some kind of configuration difference between our environments.
- Can you describe the versions you use: Eclipse, VIATRA2, UML, VIATRA2 UML importer?
- Do you run the importer in a host or runtime Eclipse?
- Can you either run Eclipse with console log or a runtime Eclipse to see if there are any error messages when you try to import the model? If you can find the log, please attach the appropriate parts.
- Did you try to create a clean VPM model space?"
Thanks in advance and kind regards, Alex
]]>Alexander Fülleborn2013-05-29T20:52:15-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1061845/#msg_1061845
below is the main features that I have installed in my Eclipse (edit: this is an archive Eclipse of course, but it is where I tested your file):
- Eclipse SDK 3.6.2.M20110210-1200
- EMF - Eclipse Modeling Framework SDK 2.6.1.v20100914-1218
- UML2 Extender SDK 3.1.2.v201010261927
I have VIATRA checked out from SVN, but it is the same as what you get by installing:
- VIATRA2 R3 Model Transformation Framework Core Components (Incubation) 3.3.0.201302241742
- VIATRA2 UML Importer 0.4.0.201305111426
You can try starting your Eclipse with -console or find the log in the .metadata folder and send me the errors that you get during import.]]>Abel Hegedus2013-06-04T10:49:56-00:00Re: [Import of uml file to model space] Not all Model elements imported
https://www.eclipse.org/forums/index.php/mv/msg/485460/1062815/#msg_1062815
thanks a lot for providing the information it helped as the import issue I had is solved know!
I will now start to write transformations according to my research requirements. Up-to-date specifications or other new helpful examples are always appreciated...
Thanks again a lot for your support and best regards, Alex]]>Alexander Fülleborn2013-06-10T20:58:28-00:00