Re: MDR Stand-alone
Joao Paulo Ferreira <[email protected]> Fri, 15 Aug 2003 04:29:31 -0700 (PDT)
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks Marting, things are getting clear... Although, get more questions: 1-Why i can convert (uml2mof) the poseidon model example that comes with the tool, even if i change it? But i cannot convert if i start a new Poseidon project. One clue i have is the <<metamodel>> Stereotype in all packages... what if i need classes outside packages? I've try to use the <<metamodel>> in the hole model, the uml2mof gives some warnings but, apparently, it converts ok. 2-I'm trying to use the mdr in my master's project, a kind of Code and Interface generation tool, the idea is to generate code and web interfaces based on UML models. So the role of the mdr will be parse the XMI 1.2 (UML, like the poseidon ones) and give me the models objects i.e: Classes, Packages, and so on... My question is: i'm i on the right way? MDR can do this for me? Thanks again ps: I'm reading all the avaiable resources (mdr.netbeans.orga) --- Martin Matula <[email protected]> wrote: > ... moving from dev@ to [email protected] > Hi Paulo, > > Joao Paulo Ferreira wrote: > > 1-What are these 01-02-15.xml and the > > 01-02-15_diff.xml files? What are their role in > the > > MDR? > > 01-02-15.xml is a definition of UML metamodel - you > first need to load > this definition into MDR to be able to work with UML > models. > 01-02-15_Diff.xml is an extension to 01-02-15.xml > which adds some JMI > specific tags to it. That is because by the time > when 01-02-15.xml was > created, there was no JMI. Since MDR is > implementation of JMI, it needs > these tags in order to work with the metamodel > correctly (generate JMI > interfaces into a correct package, etc.) > > > 2-I needed to find the uml14.jar, containning the > > omg.uml.* packages, why there is no reference > about it > > in the MDR resources? > > uml14.jar should be generated automatically when > building uml2mof. The > build script loads 01-02-15_Diff.xml, then generates > interfaces from it > (into uml directory) and builds a jar file named > uml14.jar from the > content of the uml directory. If this did not work > for you (probably > because of your previous problems with xml files), > try to invoke "and > real-clean" in uml2mof directory and then try > building the uml2mof tool > again (by invoking "ant"). > Regards, > Martin > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com