Estou precisando urgentemente aprender a utilizar o MDR. Tô seguindo o passo-a-passo do site do netbeans: [url]http://mdr.netbeans.org/example.html[/url], porém estou fazendo um exemplo mais simples só para entender melhor o funcionamento do MDR.
Eu criei o meu modelo UML e exportei em XMI. Transformei o XMI do UML em XMI do MOF através da ferramenta UML2MOF. Importei o XMI para o módulo MDR (detalhe: este módulo só existe no netbeans anterior ao 4.0, eu gostaria de utilizar em um netbeans mais novo). Bem, aparentemente tudo ok, porém quando tento utilizar o método:
MDRManager mdrM = MDRManager.getDefault();
ele retorna null.
OBS: Estou tentando rodar a aplicação através do Netbeans 5.5. Mas fiz a importação pelo netbeans 3.5.1.
Alguém sabe porque está acontecendo isso e como resolver?
Estou mais perdido ainda, pois a documentação sobre MDR na internet é mínima.
vc sabe se eh possibel utilizar a api do mdr para ler arquivos xmi sem utilizar o netbeans…??
W
WilliamSilva
This is home of the Metadata Repository project (MDR). MDR implements the OMG’s MOF (Meta Object Facility) standard based metadata repository and itegrates it into the NetBeans Tools Platform. It contains implementation of MOF repostitory including persistent storage mechanism for storing the metadata. The interface of the MOF repository is based on (and fully compliant with) JMI (Java Metadata Interface - JSR-40). MDR also defines additional features that help to incorporate it into the IDE (e.g. event notification mechanism). MDR is rather an infrastructure project, so you won’t find many screenshots here. To present the MDR functionality to the user it is usually necessary to write a module which uses the MDR.
To get basic information about MDR look at what are its key features.
MDR Architecture document will give you an overview of the components and architectural blocks the MDR is built of.
estou procurando bastante sobre isso, li varias coisas sobre o andromda, emf, mdr, mas estou com grande dificuldade para ler um arquivo xmi, nada parece funcionar corretamenta, apenas quando utiliza um ide como eclipse (emf), ou netbeans (mdr), não acho nada a repeito de ler e trabalhar com xmi atraves de frameworks apenas, sempre tem ide no meio…