Re: [mdr-users] JMI Interface names changed to lowercase
Pieter Van Gorp <[email protected]> Wed, 7 Sep 2005 21:42:06 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
> or just set its substituteName to "C M2 R M" Great, thanks a lot! -- Pieter On 9/7/05, Martin Matula <[email protected]> wrote: > Hi Pieter, > MDR uses the grammar for splitting words defined in the JMI spec. It > then lowercases all characters in the word, uppercases the first > character and concatenates the words into one identifier. Based on the > grammar "OneTwoThree" are three words, but "ONETWOTHREE" is just one > word. To solve your problem, you would have to rename your CM2RM package > to C M2 R M (or just set its substituteName to "C M2 R M"). Then it > should work as you expect. > Martin > > Pieter Van Gorp wrote: > > >Hi, I'd like MDRANT to use the names of metaclasses directly as JMI > >interface names. However, it changes capitals to lowercase. As an > >exception, UmlClass (from the MOF XMI file) doesn't get changed into > >Umlclass.java. How is this achieved? I'd like to apply the same > >trick to map CM2RM (from my MOF XMI file) to CM2RM.java. > > > >Kind regards, > > > > > >