Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / applications / appgvSIG / dist_resources / gvSIG.bat @ 36732

History | View | Annotate | Download (916 Bytes)

1 22328 jmvivo
@echo off
2
rem set gvSIG_JRE_HOME=
3
rem set this_path=
4
set error=N
5
IF DEFINED gvSIG_JRE_HOME goto check_this_path
6
ECHO No se ha establecido la variable 'gvSIG_JRE_HOME'
7
ECHO .
8
set error=S
9
:check_this_path
10
IF DEFINED this_path goto check_errors
11
ECHO No se ha establecido la variable 'this_path'
12
set error=S
13
:check_errors
14
IF "%error%" == "N" goto run
15
Echo .
16
ECHO Para que funcione este arranque de gvSIG debe editar este fichero
17
ECHO y modificar las siguentes lineas:
18
ECHO .
19
ECHO rem set gvSIG_JRE_HOME=
20
ECHO rem set this_path=
21
ECHO .
22
ECHO Dejandolas asi:
23
ECHO .
24
ECHO set gvSIG_JRE_HOME={ruta a la jre preparada para gvsig}
25
ECHO set this_path={ruta en la que se encuentra este archivo}
26
ECHO .
27
ECHO Ejecucion cancelada
28
pause
29
goto end
30
31
:run
32
cd "%this_path%"
33
"%gvSIG_JRE_HOME%\bin\java.exe" -cp ##Andami_classpath## -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1
34
35 22323 jmvivo
:end