Changeset 15148


Ignore:
Timestamp:
2008-03-28T16:14:08+13:00 (14 years ago)
Author:
oranfry
Message:

a few changes to gs3-setup.bat

Location:
greenstone3/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/gs3-setup.bat

    r15071 r15148  
    11@echo off
    22
    3 if exist machine.bat call machine.bat
     3set java_min_version=1.4.0_00
    44
    55if exist gs3-setup.bat goto start
     
    1919:: ---- Set other important environment variables ----
    2020set GSDLOS=windows
    21 set PATH=%PATH%;%GSDL3SRCHOME%\bin;%GSDL3SRCHOME%\bin\script;%GSDL3SRCHOME%\lib\jni;
     21set ANT_HOME=%GSDL3SRCHOME%\packages\ant
     22set PATH=%PATH%;%GSDL3SRCHOME%\bin;%GSDL3SRCHOME%\bin\script;%GSDL3SRCHOME%\lib\jni;%ANT_HOME%\bin
    2223
    2324:: ---- Set the CLASSPATH environment variable ----
     
    3031for %%j in ("%TOMCAT_HOME%"\common\endorsed\*.jar) do echo set CLASSPATH=%%CLASSPATH%%;%%j>> %SystemRoot%\Temp\setcp.bat
    3132for %%j in ("%GSDL3SRCHOME%"\build\*.jar) do echo set CLASSPATH=%%CLASSPATH%%;%%j>> %SystemRoot%\Temp\setcp.bat
     33echo set GS_CP_SET=yes >> %SystemRoot%\Temp\setcp.bat
    3234call %SystemRoot%\Temp\setcp.bat
    3335del %SystemRoot%\Temp\setcp.bat
    3436:skipSetCp
    3537
    36 winutil\launcher.exe -find | winutil\setvar.exe _JRE_HOME > %SystemRoot%\Temp\set_jre_home.bat
     38winutil\search4j.exe -m %java_min_version% | winutil\setvar.exe _JRE_HOME > %SystemRoot%\Temp\set_jre_home.bat
    3739call %SystemRoot%\Temp\set_jre_home.bat
    3840del %SystemRoot%\Temp\set_jre_home.bat
     
    4648echo GSDL3SRCHOME : %GSDL3SRCHOME%
    4749echo GSDL3HOME    : %GSDL3HOME%
    48 echo JVM          : %RUNJAVA%
     50echo JAVA         : %RUNJAVA%
  • greenstone3/trunk/resources/java/global.properties.in

    r15052 r15148  
    11## greenstone home
    22gsdl3.home=@gsdl3home@
    3 gsdl3.version=@gsdl3version@
     3gsdl3.version=3s2008.03.28
    44
    55# tomcat info
Note: See TracChangeset for help on using the changeset viewer.