Ignore:
Timestamp:
2009-09-21T14:29:59+12:00 (13 years ago)
Author:
ak19
Message:

Updated in sync with the changes Katherine just made to gs2-server.sh and findjava.sh (JAVA_HOME\bin added to the PATH) before launching the webserver so that apache can pass it on to the lucene indexers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/gs2-server.bat

    r20635 r20655  
    3232   pushd "%gsdl2path%"
    3333   call setup.bat
    34 ::   echo **** GSDLOS: %GSDLOS% and GSDLHOME: %GSDLHOME%
     34rem   echo **** GSDLOS: %GSDLOS% and GSDLHOME: %GSDLHOME%
    3535   popd
    3636)
     
    116116:: ---- Check Java ----
    117117:chkjava
    118 :: call the script with source, so that we have the variables it sets ($javapath)
     118:: call the script with source, so that we have the variables JAVA_EXECUTABLE and GS_JAVA_HOME it sets
    119119set exit_status=0
    120120:: Need to find Java. If found, JAVA_EXECUTABLE will be set
     
    122122call "%GSDLHOME%\findjava.bat"
    123123if "%JAVA_EXECUTABLE%" == "" echo **** No Java executable found& goto exit
     124set PATH=%GS_JAVA_HOME%\bin;%PATH%
    124125
    125126
Note: See TracChangeset for help on using the changeset viewer.