Login | Register
My pages Projects Community openCollabNet

The Tigris site will receive a major upgrade the evening of Monday, December 1, beginning at 8:30 pm PST. Downtime is projected to be about ten hours. Further details in the announcement

2.4. Opciones de Lia de Comandos

Cuando ejecute ArgoUML desde la linea de comando, entonces tiene varias posibilidades extra. Pruebe tipiando:

java -jar argouml.jar -help

Ud. veria las instrucciones:

Usage: [options] [project-file]
Options include:
  -help           display this information
  -big            use big fonts
  -huge           use huge fonts
  -nosplash       don't display logo at startup
  -noedem         don't report usage statistics
  -nopreload      don't preload common classes
  -norecentfile   don't reload last saved file
  -command <arg>  command to perform on startup
  -batch          don't start GUI
  -locale <arg>   set the locale (e.g. 'en_GB')
  -open <arg>     open given file on startup
  -print <arg>    print given file on startup (and exit)

You can also set java settings which influence the behaviour of ArgoUML:
  -Xms250M -Xmx500M  [makes ArgoUML reserve more memory for large projects]
    

Un problema comun de la interfaz de usuario es que se muestre en un lenguaje erroneo. Existe una forma facil de intercambiarse a una UI (Interfaz de usuario, del ingles User Interface) Por favor cuidado: el lenguaje esta en minusculas.

java -jar argouml.jar -locale en

ArgoUML puede ser ejecutado sin UI, en modo batch. Actualmente las posibilidades son muy limitadas. El siguiente es un ejemplo (??todo en 1 linea!): Esto lee un "test.zargo" desde mu directorio de trabajo, obtiene un diagrama llamado "A", y escribe un archivo grafico de este diagrama. Sin el "-batch", ArgoUML debe iniciare la UI despues de ejecutar los comandos.

java -jar argouml.jar -batch -command "org.argouml.uml.ui.ActionOpenProject=c:\Documents and Settings\Michiel\My Documents\test.zargo" -command org.argouml.ui.cmd.ActionGotoDiagram=A -command "org.argouml.uml.ui.ActionSaveGraphics=c:\Documents and Settings\Michiel\My Documents\test.PNG"