13.07.2015 Views

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

Bouml reference manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

file:///C:/uml/BOUML/bouml_3.0/doc/TOUT.html356 of 378 07/10/2007 15:55Updating a plug-outSee upgrade plug-out.To start a plug-out when <strong>Bouml</strong> is launchIt is possible to apply a plug-out on the project when <strong>Bouml</strong> is started through your shell or command line :bouml -exec -exit indicates the model to load as usual. indicates the plug-out to apply on the project. The C++ generator is named cpp_generator, the Java generatorjava_generator, the Php generator php_generator, the Idl generator idl_generator, the HTML generator ghtml, the XMI generatorgxmi and gxmi2. If necessary the full path of the plug-out have to be done, warning : under Windows this path must not containspace. are the optional options you give to the plug out-exit is optional and allows to exit from <strong>Bouml</strong> when the plug-out execution is done.For instance (HTML generator options are given here, XMI generator options are given here) :"C:\Program Files\<strong>Bouml</strong>\bouml" "D:\...\aze\aze.prj" -exec C:\Progra~1\<strong>Bouml</strong>\gxmi -uml c:\aze.xmi windows-1252 -exitbouml .../qsd/qsd.prj -exec -flat /usr/lib/bouml/ghtml /tmp/qsd_html -del_html -exitExchanges with BOUMLThe exchanges between BOUML and the plug-outs are supported by a TCP/IP socket. When you ask BOUML to start a plug-out, itsearch for a free port number starting at 1024. In case you have a firewall it may be necessary to configure it.To reduce the number of exchanges with BOUML and run faster, a plug-out does not ask for BOUML each time you want to get a value.Thesystemclasses read and memorize all the data of a given item the first time you access to one of them (with the restrictions allowed byWITHCPP, WITHJAVA, WITHPHP and WITHIDL). This is transparent for you until two plug-outs access to the same data, when oneplug-out modify a value already read by the other, the second plug-out does not see the new value until it unload (an operation defined onUmlBaseItem) the object, then ask for the value.User properties

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!