NAME

ummf - driver for UMMF

SYNOPSIS

ummf [-I dir ] [-m Main::Module ] [-o {dir|-}] [-e exporter] input ...

DESCRIPTION

This is a driver for the UMMF toolkit. It translates UML input documents into the export targets specified by the -e option. If -o - is specified the output is generated to STDOUT, otherwise the output is multiplexed into files underneath the directory specified by the -o option, using files2dirs.

If input is 'UML-1.5', then the internal UML 1.5 meta-model (from UMMF::UML::MetaModel) is used as input.

Input files can be .zargo (ArgoUML and Poseidon for UML 1.x), .zuml (Poseidon for UML 2.x) or XMI 1.0 or 1.2 documents.

USAGE

ummf -e java -e perl -o gen test/test1.xmi

Generates Java and Perl code in directory gen from test/test1.xmi.

ummf  -e perl::hibernate -o gen test/test2.zargo

Generates Java Hibernate hbn.xml file in directory gen from test/test2.zargo.

ummf -e XMI -o - UML-1.5

Generates XMI for the UML 1.5 meta-model on the standard output stream.

ummf --perl5lib

Print the PERL5LIB path needed for Perl code generated by UMMF.

ummf -m Some::Package @args ...

Loads Some::Package and executes <Some::Package-main(@args)>>.

ummf -I dir/with/perl/modules

Executes use lib 'dir/with/perl/modules'; including modules from the specified directory in the search path.

ummf -profile MyMagicProfile -e Perl UML-1.5

Applies MyMagicProfile during export of Perl code on the UML 1.5 meta-model. This overides the default lib/ummf/profile/UML-1.5.ummfprofile file.

EXPORT

None exported.

AUTHOR

Kurt Stephens, kstephens@users.sourceforge.net 2003/05/15

SEE ALSO

UMMF::UML::MetaModel, UMMF::UML::Export

VERSION

$Revision: 1.21 $