Ignore:
Timestamp:
2009-06-09T13:39:12+12:00 (15 years ago)
Author:
ak19
Message:
  1. Search4j was previously given a hint that assumed that findjava was working with GLI instead of a more general case (such as gs2-server.sh). Now it is uses GSDLHOME to work out the hint. 2. PROGNAME needs to be passed in as a parameter for display. The script gs2-server.sh is now updated to pass PROGNAME as an additional argument to findjava.sh. 3. Instead of merely testing whether the search4j file exists, Oran suggested testing whether search4j file exists AND is executable. 4. Have already updated the findjava.sh script concurrently with this findjava.sh and also updated gli.sh and client-gli.sh.
File:
1 edited

Legend:

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

    r19739 r19770  
    33
    44java_min_version=1.4.0_00
     5PROGNAME="gs2-server"
    56
    67function autoset_gsdl_home() {
     
    110111    # call the script with source, so that we have the variables it sets ($javapath)
    111112    exit_status=0
    112     source ./findjava.sh $serverlang
     113    source ./findjava.sh "$serverlang" "$PROGNAME"
    113114    exit_status=$?
    114115    if [ "$exit_status" -eq 1 ]; then
Note: See TracChangeset for help on using the changeset viewer.