Description
Ed Willink
2020-01-24 07:00:05 EST
As well as KDM2UML being broken its KDM is vintage; Bug 559507. Commenting out packedElement assignments the failure changes from a unsupported assignment to an empty stack, probably due to isCollection/isMap not being supported on a Void / empty collection. Specifically rule CodeModelToModel extends KDMModelToModel { from src :kdm!CodeModel to tgt :uml!Model ( packagedElement <- src.codeElement --12 ) } seems to be able to assign a Property. The complexity of this defeats mindless tweaking, a re-design of the output containment tree is need to accommodate the UML 2.5 change. Probably needs to be done in conjunction with a KDM update. Bug 559507. --- Until someone steps forward for the redesign, may be we just eliminate the Discovery->Discovers->Discover UML from KDM Model... menu entry that clearly does not work. New Gerrit change created: https://git.eclipse.org/r/156895 New Gerrit change created: https://git.eclipse.org/r/157158 New Gerrit change created: https://git.eclipse.org/r/157157 Fabien Giquel commented on the Gerrit: ok for this uml2converter.ui/plugin.xml. But in order to complete disactivation : the extensions from org.eclipse.modisco.usecase.simpletransformationschain.ui/plugin.xml should be commented too : it proposes menus for shorcut transfo "java(->kdm)->uml" in using the KTMtoUML.atl step. ----- Trimming the extensions from org.eclipse.modisco.kdm.uml2converter.ui probably reduced the UI plugin to zero functionality, and casts doubt on the non-UI functionality it facilitated. The org.eclipse.modisco.usecase.simpletransformationschain.ui extensions all seem to exploit the {Java/Project>->KDM->UML capability. So yes, they need to be hidden too. But that makes org.eclipse.modisco.usecase.simpletransformationschain.ui zero functionality and again casts doubt on the non-UI functionality. All org.eclipse.modisco.kdm.uml2converter, org.eclipse.modisco.usecase.simpletransformationschain functionaity marked as deprecated (pending a KDMtoUML fix / amputation). New Gerrit change created: https://git.eclipse.org/r/157164 New Gerrit change created: https://git.eclipse.org/r/157185 Gerrit change https://git.eclipse.org/r/156895 was merged to [master]. Commit: http://git.eclipse.org/c/modisco/org.eclipse.modisco.git/commit/?id=26b58bd549df6ff165f67fcaab89431add8dc8c1 Gerrit change https://git.eclipse.org/r/157158 was merged to [master]. Commit: http://git.eclipse.org/c/modisco/org.eclipse.modisco.git/commit/?id=28a33ff7a0a9ef5c9a9eb8843b5fa2605ec01538 Gerrit change https://git.eclipse.org/r/157164 was merged to [master]. Commit: http://git.eclipse.org/c/modisco/org.eclipse.modisco.git/commit/?id=5ef0c1c0da09ae0f9978f61809895ff436b2af4a Gerrit change https://git.eclipse.org/r/157157 was merged to [master]. Commit: http://git.eclipse.org/c/modisco/org.eclipse.modisco.git/commit/?id=afd47db61ba853a034dc7c41959172a4aebb1567 Gerrit change https://git.eclipse.org/r/157185 was merged to [master]. Commit: http://git.eclipse.org/c/modisco/org.eclipse.modisco.git/commit/?id=9d9c85765010c4d7db78d6021759ba660e0cd494 Deprecation/suppression of three plugin.xml's of transitive KDMtoUML invocations pushed to master for 1.5.1M2 today. (In reply to Ed Willink from comment #2) > The complexity of this defeats mindless tweaking, a re-design of the output > containment tree is need to accommodate the UML 2.5 change. This bug remains open awaiting help/enthusiasm for the KDMtoUML.atl re-design. |