Changeset 35650


Ignore:
Timestamp:
2021-10-20T18:13:57+13:00 (2 years ago)
Author:
davidb
Message:

Tweaks to echo statements. Tidy up of commented out code

Location:
gs3-extensions/solr/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/solr/trunk/src/gs3-setup.bat

    r35314 r35650  
    3737endlocal& set SOLR_HOST=%SOLR_HOST%& set SOLR_PORT=%SOLR_PORT%
    3838echo   - Solr API accessed internally via: http://%SOLR_HOST%:%SOLR_PORT%/solr/
    39 rem echo Tomcat host: %SOLR_HOST%
    40 rem echo Tomcat port: %SOLR_PORT%
    41 
    42 
    43 rem rem IF USING JETTY SERVER FOR SOLR
    44 rem :: The port Jetty runs on:
    45 rem set SOLR_JETTY_PORT=8983
    46 
    47 rem :: The port Jetty listens on for a "stop" command
    48 rem set JETTY_STOP_PORT=8079
    4939
    5040if "%OS%" == "Windows_NT" goto WinNT
     
    9585endlocal & set GSDL3EXTS=%GSDL3EXTS%
    9686
    97 echo +Your environment is now setup for %extdesc%
    98 
    9987:: Back to delayed expansion to avoid problems with environment
    10088:: variables with brackets in them, such as "Program Files (x86)"
    10189
    102 rem ::echo ++Solr/Jetty server will run on port %SOLR_JETTY_PORT% (+ port %JETTY_STOP_PORT% for shutdown command)
    103 rem echo ++Solr will run off the tomcat server on port %SOLR_PORT%
    104 rem echo --This port value can be changed by editing tomcat.port in build.properties
    105 rem ::echo --  %0
    106 
    107 
     90echo +Your environment is now setup for %extdesc%
    10891
    10992:End
  • gs3-extensions/solr/trunk/src/gs3-setup.sh

    r35419 r35650  
    3232
    3333
    34 ## If using jetty:
    35 ## The port Jetty runs on:
    36 #SOLR_JETTY_PORT=8983
    37 
    38 ## The port Jetty listens on for a "stop" command
    39 #JETTY_STOP_PORT=8079
    40 
    41 
    4234if test -z $GSDLOS ; then
    4335  GSDLOS=`uname -s | tr '[A-Z]' '[a-z]'`
     
    5951
    6052if [ "x$GEXT_SOLR" = "x" ] ; then
    61   echo "+ Setting up your environment for $extdesc ..."
    6253  export GEXT_SOLR=`pwd`
    6354
     
    8273  fi
    8374
    84 #  export SOLR_JETTY_PORT
    85 #  export JETTY_STOP_PORT
    8675  export SOLR_PORT
    8776  export SOLR_HOST
    8877#  first_time=1
    8978
    90   echo "+ ... Your environment is now setup for $extdesc"
     79  echo "+Your environment is now setup for $extdesc"
    9180else
    92   echo "+ Your environment is already setup for $extdesc"
     81  echo "+Your environment is already setup for $extdesc"
    9382fi
    9483
    95 #echo "SOLR port: $SOLR_PORT"
    96 #echo "SOLR host: $SOLR_HOST"
    9784echo "  - Solr API accessed internally via: http://$SOLR_HOST:$SOLR_PORT/solr/"
    9885
    99 
    100 #echo "++Solr/Jetty server will run on port $SOLR_JETTY_PORT (+ port $JETTY_STOP_PORT for shutdown command)"
    10186
    10287#if [ "$first_time" = "1" ] ; then
Note: See TracChangeset for help on using the changeset viewer.