Open eclipse-ocl-bot opened 5 days ago
By Adolfo Sanchez-Barbudo Herrera on Feb 27, 2015 09:35
Not related to this issue, but I've done such separation in local, since the visitors infrastructure generation work with the first genPackage of the given genModel.
| --- | --- | | Bugzilla Link | 461042 | | Status | NEW | | Importance | P3 normal | | Reported | Feb 27, 2015 08:41 EDT | | Modified | Feb 27, 2015 09:35 EDT | | Reporter | Ed Willink |
Description
The multi-Package in a single GenModel assumes that the multiple Packages are part of a single model such as SysML.
In /org.eclipse.qvtd.build.cs2as.tests/src/org/eclipse/qvtd/build/cs2as/tests/models/example2 a single genmodel is used as a pragmatism for four models. But only one is properly registered in the ResourceSet.uriMap to ensure that model accesses are resolved to earlier loaded generated EPackages.
Workaround: separate genmodels