in reply to Re^5: UML to Perl
in thread UML to Perl

cd UMMF-1.02\example\ex2 ummf -e Java -o gen/java OddNames.zuml ummf -e Perl -o gen/perl OddNames.zuml perl -Igen/perl -MEx2::Class_With_Spaces -MEx2::Class_with_dashes -e 1 tree -f gen
gen |-- gen/java | |-- gen/java/UML | | |-- gen/java/UML/__Factory.java | | `-- gen/java/UML/__Model.java | `-- gen/java/ex2 | |-- gen/java/ex2/Another_Class_with_spaces.java | |-- gen/java/ex2/Class_With_Spaces.java | |-- gen/java/ex2/Class_with_dashes.java | |-- gen/java/ex2/IAnother_Class_with_spaces.java | |-- gen/java/ex2/IClass_With_Spaces.java | `-- gen/java/ex2/IClass_with_dashes.java `-- gen/perl |-- gen/perl/Ex2 | |-- gen/perl/Ex2/Another_Class_with_spaces.pm | |-- gen/perl/Ex2/Class_With_Spaces.pm | `-- gen/perl/Ex2/Class_with_dashes.pm |-- gen/perl/UML | `-- gen/perl/UML/__ObjectBase.pm |-- gen/perl/UML.pm `-- gen/perl/UML.pm.Model.xmi

Replies are listed 'Best First'.
Re^7: UML to Perl
by soumyapanda (Acolyte) on Aug 01, 2011 at 10:40 UTC
    Hi,

    Could you pls explain a bit about what "diff" exactly are we "patching" in in the sample patch run that you showed above?

    Am just trying to understand the logic here. I am getting a "template not found" error; but the sample patch run u showed me seems to be taking a diff between some old version of UMMF files2dirs file and a newer version of the same.

    Can you please explain a bit as to how this explanation would solve my problem?

    I was thinking on these lines - to me the error looks like a template file that's used to generate code is missing here for some reason. So, if we can get hold of that template file, then my problem should be resolved. Am I thinking right?

    Please advise.