[Gvsig_english] Can you open a project from a script?
Simon Cropper
simoncropper at fossworkflowguides.com
Thu Mar 22 23:33:17 CET 2012
I managed to get this to work without any fuss.
In launchers just list the project after the reference to the shell
script, or from the command line just type ~/gvSIG_1.10/bin/gvSIG.sh
"/my/gvsig/project.gvp"
Thanks.
P.S. I never read anywhere that you could do this. When I looked at the
script I did not see anything that indicated that it accepted project
files. As it was $@ follows the final call -- this means tag on all the
attributes passed to the script -- if one of those attributes is a
project file it just opens it up.
On 23/03/12 04:33, Francisco Puga wrote:
> AFAIK it is possible. Did you find any trouble doing it?
>
> El día 16 de marzo de 2012 04:48, Simon Cropper
> <simoncropper at fossworkflowguides.com> escribió:
>> Hi,
>>
>> Is it possible to open a project from a script file?
>>
>> Along the lines "~/gvSIG_1.10/gvSIG.sh $MyProject" where the MyProject
>> variable is a project file (inc path).
>>
>> What I am trying to achieve is a rapid movement between projects. At the
>> moment I open gvSIG then drill down the directory tree until I find my
>> project then open it.
>>
>> Does the latest version of gvSIG have better 'project' management
>> capabilities, not elements of a project, capabilities?
>>
>> I am currently using Ubuntu 11.10 with XFCE, gvSIG 1.10 (Build 1264),
>> Java 1.6.0_20.
>>
>> --
>> Cheers Simon
>>
>> Simon Cropper - Open Content Creator / Website Administrator
>>
>> Free and Open Source Software Workflow Guides
>> ------------------------------------------------------------
>> Introduction http://www.fossworkflowguides.com
>> GIS Packages http://www.fossworkflowguides.com/gis
>> bash / Python http://www.fossworkflowguides.com/scripting
>> _______________________________________________
>> Gvsig_internacional mailing list
>> Gvsig_internacional at listserv.gva.es
>>
>> To see the archives, edit your preferences or unsubscribe from this mailing list, please access this url:
>>
>> http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional
>
>
>
--
Cheers Simon
Simon Cropper - Open Content Creator / Website Administrator
Free and Open Source Software Workflow Guides
------------------------------------------------------------
Introduction http://www.fossworkflowguides.com
GIS Packages http://www.fossworkflowguides.com/gis
bash / Python http://www.fossworkflowguides.com/scripting
More information about the Gvsig_internacional
mailing list