soumyapanda has asked for the wisdom of the Perl Monks concerning the following question:

Am trying to run the UMMF perl script. Am facing the below mentioned error. Can anyone please help me out in resolving the issue



'D:\UMMF\UMMF-1.02\bin/files2dirs' is not recognized as an internal or + external command, operable program or batch file. ummf: reading D:\Project\test_annotation\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: ataType cannot do set_href UMMF: XMI: initialize instances: DONE ummf: reading D:\Project\test_annotation\UML Design\test.xmi : DONE Export: Applying filter: UMMF::XForm::AssocClassLinks Export: Applying filter: UMMF::XForm::AssocClassLinks: DONE Export: Applying filter: UMMF::XForm::AssociationNames Export: Applying filter: UMMF::XForm::AssociationNames: DONE Cannot find template for UMMF::Export: erl at C:/Perl/lib/UMMF/Export/ +Template. pm line 163.

Replies are listed 'Best First'.
Re: UMMF perl script execution..
by Anonymous Monk on Jul 29, 2011 at 13:09 UTC
      Hi,

      Can you pls explain how this patch will resolve my problem?

      Because, the sample patch run that you have showed seems to be taking a diff between some old version of UMMF's filesdir file and the newer version of the same. But the error that i am getting states that a template file that's used for Perl code generation is missing (for some reason). So, shouldn't I be thinking in terms of finding out where I can get that template file and then insert it into my UMMF?

      I am not able to correlate how patch in this case will resolve my problem.

      Please advise. Also, any idea where I can get the template file that I need?

        Can you pls explain how this patch will resolve my problem?

        Why? Just apply the patch, and be happy it now works