Ignore:
Timestamp:
2009-08-12T13:25:22+12:00 (15 years ago)
Author:
oranfry
Message:
  • build.xml: fail if user tries to combine tomcat6 and java1.4
  • gs3-setup.sh: if search4j not present, warn they may need java 1.5
File:
1 edited

Legend:

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

    r20219 r20233  
    9090 
    9191  #CLASSPATH
     92  addtopath CLASSPATH "."
    9293  addtopath CLASSPATH "$GSDL3HOME/WEB-INF/classes"
    9394  addtopath CLASSPATH "$GSDL3SRCHOME/resources/java"
     
    164165  elif [ "$JAVA_HOME" != "" ] && [ "`which java`" == "$JAVA_HOME/bin/java" ]; then
    165166    echo "  - Using java at $JAVA_HOME"
     167    echo "  - WARNING: Greenstone has not checked the version number of this java installation"
     168    echo "             The source distribution of Greenstone3 requires java 1.5 or greater"
     169    echo "             (SVN users may still use java 1.4)"
    166170  elif [ "$JRE_HOME" != "" ] && [ "`which java`" == "$JRE_HOME/bin/java" ]; then
    167171    echo "  - Using java at $JRE_HOME"
     172    echo "  - WARNING: Greenstone has not checked the version number of this java installation"
     173    echo "             The source distribution of Greenstone3 requires java 1.5 or greater"
     174    echo "             (SVN users may still use java 1.4)"
     175
    168176  #failing all that, print a warning
    169177  else
Note: See TracChangeset for help on using the changeset viewer.