Thanks for the reply. It worked for me. But while i ran the code with a sample xmi file am getting some error. Can you please help me out.


This is what i tried to run

D:\UML Test>perl c:\Perl\bin\ummf.pl -e perl "d:\UML Test" "Z:\Softwar +e\Perl Mod ules\test UML Design\test.xmi"


Below is the error am getting


ules\test UML Design\test.xmi" ummf: reading d:\UML Test ummf: reading d:\UML Test : DONE ummf: reading Z:\Software\Perl Modules\test UML Design\test.xmi UMMF: XMI: parsing UMMF: XMI: parsing: DONE UMMF: XMI: preparing UMMF: XMI: preparing: DONE UMMF: XMI: create instances UMMF: XMI: create instances: DONE UMMF: XMI: initialize instances UMMF: XMI: Warning: UMMF::UML_1_5::Foundation::Core::DataType cannot d +o set_href UMMF: XMI: initialize instances: DONE ummf: reading Z:\Software\Perl Modules\test UML Design\test.xmi : DONE Use of uninitialized value $_ in concatenation (.) or string at C:/Per +l/lib/UMMF /XForm/Merge.pm line 124. Use of uninitialized value $_ in concatenation (.) or string at C:/Per +l/lib/UMMF /XForm/Merge.pm line 124. [ UMMF::XForm::Merge=HASH(0x142f4b4) ] [ ] [ UMMF::UML_1_5::Model_Management::Model=HASH(0x15a3f94) ] [ ] [ UMMF::UML_1_5::Model_Management::Model=HASH(0x15a3f94) ] at C:/Perl +/lib/UMMF/ XForm/Merge.pm line 124. Can't call method "ownedElement" on an undefined value at C:/Perl/lib/ +UMMF/Core/ Util.pm line 568.

In reply to Re^7: UMMF perl script execution.. by soumyapanda
in thread UMMF perl script execution.. by soumyapanda

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.