From: SainTiss <sai...@gm...> - 2003-09-24 16:44:00
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tony, On Wednesday 24 September 2003 18:31, Tony Mowers wrote: > > My plan for sometime now has been to extend AndroMDA so that it can handle > any meta-model. I envisioned extending the AndroMDA <repository> ant tag > so that in addition to the classname of the repository one could also > specify a set of property tags that could be used to configure the > repository. > > I would then leave the hard-coded uml specific defaults in the > MDRespositoryFacade implementation, but also provide the ability for users > to override these defaults with their own values. > > I imagined it would work something like: > > <andromda ...> > > <repository classname=3D"MyRepository" transformClassname=3D"MyScriptHe= lper"> > <property name=3D"metaModelURL" value=3D"file:c:/commomwarehouse.xmi"= /> > <property name=3D"mofPackageName" value=3D"EntityRelation"/> > </repository> > > <generateJMI destdir=3D"build/gensrc"/> > ... > > </andromda> > > What would you think of a features something like the above? I think that would indeed remove the need to subclass the repositoryFacade,= =20 and as well make things a bit more logical... After all, one wouldn't reall= y=20 expect an MDR repository facade to be bound to UML... So I think it's a good idea :-) > > You have the basic idea right. The thing that is probably causing you so= me > confusion is that the UML1.4 metamodel is contained inside the UML14.jar, > but it's definition is spread across two files > > umlmodel.xmi > 01-02-15.xml Oh, ic... I already thought the xmi file was a bit short, but I only had a= =20 quick look at it as I'm not really familiar with raw XMI formats... > > The umlmodel.xmi file makes reference to the 01-02-15.xml file. It is in > this second file that the mysterious MOF package "UML" is defined. > > The MOF package named "UML" is used as the meta-model for another MDR > extent. The second MDR extent, based upon the UML metamodel, is the one > into which UML based models are loaded. What exactly do you mean by that last part? I thought UML was a MOF model (= a=20 MOF instance), but apparently it's not that, but a MOF package? I'm a bit=20 confused here... Thanks, Hans =2D --=20 Ark Linux - Linux for the Masses (http://arklinux.org) In a world without walls and fences, who needs windows and gates? Is the essence that the light pulse lives longer? Hans Schippers 2LIC INF UA 2003-2004 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/ccm9XlnUYIbmLOQRApYIAJ9sftuAWMk5urg01PZVlnEabbjcSwCgnD4W RbGI8spzHDtv8vyU9d7XNjE=3D =3Dd71j =2D----END PGP SIGNATURE----- |