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

I am not able to understand the syntax/usage of patch; I am not able to find any help docs on the patch/gnuwin32 website either

START + Programs + GnuWin32 + Patch + patch-man.pdf

"C:\Program Files\GnuWin32\man\pdf\patch-man.pdf"

http://www.gnu.org/software/diffutils/manual/#Invoking-patch

patch

So, I am not sure what exactly I am doing wrong.

You're not reading closely, and you're not copy/paste-ing

cd UMMF-1.02
patch -p1 < path/to/patchfile

we have .. should we ...

Have you self-replicated? How'd you do that!?

:)  :P :D ;)

Replies are listed 'Best First'.
Re^6: UMMF perl script execution..
by Anonymous Monk on Aug 02, 2011 at 17:10 UTC
    patch --help even

      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.

      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.