Changeset 9862 for trunk/gli/makegli.sh


Ignore:
Timestamp:
2005-05-12T16:17:38+12:00 (19 years ago)
Author:
mdewsnip
Message:

Removed the javac version check -- this was starting to get out of control and new versions of Java always make it worse. Not many people will be compiling the GLI and you know pretty quickly if your version of Javac isn't appropriate, so I don't think it's a big loss.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/makegli.sh

    r9656 r9862  
    7878fi
    7979
    80 # Check that the version of javac is new enough (1.4.0 or higher) to compile the GLI
    81 javacOK=`$javacpath -target 1.4 2>&1`
    82 if [ ! "$javacOK" = "" ]; then
    83     # Special code for javac 1.4.2, since it complains about "no source files"
    84     javacOK142=`$javacpath -target 1.4 2>&1 | grep "javac: no source files"`
    85     # Special code for javac 1.5, since it is different again
    86     javacOK15=`$javacpath -target 1.5 2>&1 | grep "javac: no source files"`
    87     if [ "$javacOK142" = "" ] && [ "$javacOK15" = "" ]; then
    88     echo
    89     if [ "$glilang" == "es" ]; then
    90         echo "La versión del Kit de Desarrollo de Software de Java (SDK por "
    91         echo "sus siglas en inglés) que usted tiene instalada es demasiado "
    92         echo "vieja para poder compilar la Interfaz de la Biblioteca Digital "
    93         echo "Greenstone. Por favor instale una nueva versión del Kit de "
    94         echo "Desarrollo de Software Java (versión 1.4 o posterior) y ejecute "
    95         echo "nuevamente este guión."
    96     elif [ "$glilang" == "fr" ]; then
    97         echo "La version de Java Development Kit que vous avez installée est trop"
    98         echo "vieille pour compiler Greenstone Librarian Interface. Veuillez "
    99         echo "installer une nouvelle version de Java SDK (version 1.4 ou plus"
    100         echo "récente) et redémarrez ce script."
    101     elif [ "$glilang" == "ru" ]; then
    102         echo "÷ÅÒÓÉÑ Java Development Kit, ËÏÔÏÒÕÀ ÷Ù ÕÓÔÁÎÏ×ÉÌÉ, ÓÌÉÛËÏÍ ÓÔÁÒÁ,"
    103         echo "ÞÔÏÂÙ ÄÁÔØ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÂÉÌÉÏÔÅÞÎÙÊ ÉÎÔÅÒÆÅÊÓ Greenstone."
    104         echo "ðÏÖÁÌÕÊÓÔÁ, ÕÓÔÁÎÏ×ÉÔÅ ÎÏ×ÕÀ ×ÅÒÓÉÀ Java SDK (×ÅÒÓÉÀ 1.4 ÉÌÉ ÂÏÌÅÅ"
    105         echo "ÎÏ×ÕÀ) É ÐÅÒÅÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÓËÒÉÐÔ."
    106     else
    107         echo "The version of the Java Development Kit you have installed is too old"
    108         echo "to compile the Greenstone Librarian Interface. Please install a new"
    109         echo "version of the Java SDK (version 1.4 or newer) and rerun this script."
    110     fi
    111     exit 1
    112     fi
    113 fi
    114 
    115 
    11680## ---- Compile the GLI ----
    11781echo
Note: See TracChangeset for help on using the changeset viewer.