Ignore:
Timestamp:
2009-08-11T13:02:56+12:00 (13 years ago)
Author:
oranfry
Message:

use cp.jar files instead of searching for individual jars in gs3-setup. (Also a fix to root cp.jar)

File:
1 edited

Legend:

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

    r20189 r20211  
    9292  addtopath CLASSPATH "$GSDL3HOME/WEB-INF/classes"
    9393  addtopath CLASSPATH "$GSDL3SRCHOME/resources/java"
    94   for JARFILE in "$GSDL3SRCHOME"/*.jar; do
    95     addtopath CLASSPATH "$JARFILE"
    96   done
    97   for JARFILE in "$GSDL3SRCHOME"/lib/jni/*.jar; do
    98     addtopath CLASSPATH "$JARFILE"
    99   done
    100   for JARFILE in "$GSDL3SRCHOME"/lib/java/*.jar; do
    101     addtopath CLASSPATH "$JARFILE"
    102   done
    103   for JARFILE in "$GSDL3HOME"/WEB-INF/lib/*.jar; do
    104     addtopath CLASSPATH "$JARFILE"
    105   done
     94  addtopath CLASSPATH "$GSDL3SRCHOME/cp.jar"
     95
    10696  # Tomcat 5 jar files
    10797  for JARFILE in "$TOMCAT_HOME"/common/endorsed/*.jar; do
     
    113103  done   
    114104 
    115   for JARFILE in "$GSDL3SRCHOME"/build/*.jar; do
    116     addtopath CLASSPATH "$JARFILE"
    117   done
     105  #shouldn't need these as they will have been copied to their correct locations elsewhere in the greenstone3 installation
     106  #for JARFILE in "$GSDL3SRCHOME"/build/*.jar; do
     107  #  addtopath CLASSPATH "$JARFILE"
     108  #done
    118109  echo "  - Adjusted CLASSPATH"
    119110
Note: See TracChangeset for help on using the changeset viewer.