[FoLUG] software uml

Enrico Pasini e.paso@libero.it
Lun 6 Feb 2006 17:54:28 CET


On Mon, 2006-02-06 at 16:38 +0100, Alessandro Ronchi wrote:
> Dia non mi pare che generi il codice dai diagrammi, o sbaglio?

Si, invecie...
Non direttamente ma esiste un utility da installare a parte che si chima
dia2code e genera codice in ada, c, c++, idl, java, php, python, shp ed
sql.

Questo è l'help del programma:
> dia2code --help

dia2code version 0.8.1, Copyright (C) 2000-2001 Javier O'Hara
Dia2Code comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; read the COPYING file for details.

Usage: dia2code [-h|--help] [-d <dir>] [-nc] [-cl <classlist>]
       [-t (ada|c|cpp|idl|java|php|python|shp|sql)] [-v]
       [-l <license file>] <diagramfile>

    -h --help            Print this help and exit
    -t <target>          Selects the output language. <target> can be
                         one of: ada,c,cpp,idl,java,php,python,shp or
sql. 
                         Default is C++
    -d <dir>             Output generated files to <dir>, default is
"." 
    -l <license>         License file to prepend to generated files.
    -nc                  Do not overwrite files that already exist
    -cl <classlist>      Generate code only for the classes specified in
                         the comma-separated <classlist>. 
                         E.g: Base,Derived.
    -v                   Invert the class list selection.  When used 
                         without -cl prevents any file from being
created
    <diagramfile>        The Dia file that holds the diagram to be read

    Note: parameters can be specified in any order.

-- 
Enrico Pasini <e.paso@libero.it>



Maggiori informazioni sulla lista FoLUG