[Gvsig_desarrolladores] Command line usage?

César Martínez Izquierdo cesar.martinez en iver.es
Mie Ene 9 09:18:02 CET 2008


Milan Lazecky escribió:
> Thank you very much!
> Well, I hoped it will be possible to use some command line utility/
> script with compiled binaries. But ok, I will try to learn java a 
> bit to do the script. Thank you for the code, it is very useful!
> Milan
> 

Hi Milan,
indeed, you can use Python, BeanShell and JavaScript scripting 
languages. However:
- they don't provide a higher level API at the moment (standard gvSIG 
Java classes are called from the scripting language)
- the scripts must be launched from the GUI (so it's not possible to 
launch them from the command line).
For Python/Jython, the scripts can be typed in the scripting console 
(File->Scripting -> Jython Console), or they can be associated to 
toolbar buttons (see the Scripting Tutorial for details: 
http://www.gvsig.gva.es/fileadmin/conselleria/images/Documentacion/descargas/manuales/gvsig-1_0-scripting-tutorial-v2-en.zip).

Regards,

-- 
César Martínez Izquierdo
Equipo de desarrollo gvSIG
http://www.gvsig.gva.es

IVER T.I.
C/ Lérida 20
46009 Valencia - Spain
http://www.iver.es


Este mensaje y sus archivos son confidenciales. No está permitida su reproducción o distribución sin la autorización expresa de "IVER Tecnologías de la Información". Si usted no es el destinatario previsto, queda desautorizado cualquier uso, acceso o copia de este mensaje. Si ha recibido este mensaje por error, por favor bórrelo e infórmenos por esta misma vía.




Más información sobre la lista de distribución gvSIG_desarrolladores