in reply to Re^5: UMMF perl script execution..
in thread UMMF perl script execution..

patch --help even

Replies are listed 'Best First'.
Re^7: UMMF perl script execution..
by soumyapanda (Acolyte) on Aug 03, 2011 at 08:43 UTC

    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.
Re^7: UMMF perl script execution..
by soumyapanda (Acolyte) on Aug 04, 2011 at 04:00 UTC

    Hello sir, We are eagerly waiting for your reply regarding UMMF. Please reply us soon

      What kind of reply do you expect? You only posted some program, but did not post any relevant input data, so nobody can reproduce your error.

        You can test with any sample xmi file. I installed everything that was told by all wrt to UMMF. I also insatlled patch in my system. After doing all the above when i tried to run it with a sample xmi file i got the mentioned error..You can just create any class diagram and test the code.. If i have given any wrong parameters please tell me.