| Line 2... | 
            Line 2... | 
          
          
            | 2 | 
            ########################################################################################################################
  | 
            2 | 
            ########################################################################################################################
  | 
          
          
            | 3 | 
            # But : mise en ligne automatique sur le serveur par ftp, de la dernière version de COEL
  | 
            3 | 
            # But : mise en ligne automatique sur le serveur par ftp, de la dernière version de COEL
  | 
          
          
            | 4 | 
            # Auteur :  Jean-Pascal Milcent <jpm@tela-botanica.org> (translate bat file to shell script) 
  | 
            4 | 
            # Auteur :  Jean-Pascal Milcent <jpm@tela-botanica.org> (translate bat file to shell script) 
  | 
          
          
            | 5 | 
            # License : GPL v3
  | 
            5 | 
            # License : GPL v3
  | 
          
          
            | 6 | 
            # Création : 11 janvier 2010
  | 
            6 | 
            # Création : 11 janvier 2010
  | 
          
          
            | 7 | 
            # Version: 0.1
  | 
            7 | 
            # Version: 0.2
  | 
          
          
            | - | 
               | 
            8 | 
            # 2010-09-13 - Ajout de la création du nom de l'appli automatique.
  | 
          
          
            | 8 | 
            # $Id$
  | 
            9 | 
            # $Id$
  | 
          
          
            | 9 | 
            ########################################################################################################################
  | 
            10 | 
            ########################################################################################################################
  | 
          
          
            | 10 | 
            # Constante
  | 
            11 | 
            # Constante
  | 
          
          
            | - | 
               | 
            12 | 
            NBREPARAM=$#
  | 
          
          
            | 11 | 
            APPDIR=`dirname $0`;
  | 
            13 | 
            APPDIR=`dirname $0`;
  | 
          
          
            | 12 | 
            APPDIR_ABSOLU=`pwd`;
  | 
            14 | 
            APPDIR_ABSOLU=`pwd`;
  | 
          
          
            | 13 | 
            NBREPARAM=$#
  | 
            - | 
               | 
          
          
            | 14 | 
            APPLI_NOM="Coel"
  | 
            15 | 
            APPLI_NOM=`basename $APPDIR_ABSOLU | sed 's/^./\u&/'`
  | 
          
          
            | 15 | 
            FICHIER_COMPILATION="$APPLI_NOM-compile"
  | 
            16 | 
            FICHIER_COMPILATION="$APPLI_NOM-compile-prod"
  | 
          
          
            | 16 | 
            DOSSIER_COMPILATION="$APPDIR/war"
  | 
            17 | 
            DOSSIER_COMPILATION="$APPDIR/war"
  | 
          
          
            | 17 | 
            DOSSIER_DESTINATION="/www/eflore/coel"
  | 
            18 | 
            DOSSIER_DESTINATION="/www/eflore/coel"
  | 
          
          
            | 18 | 
            DOSSIER_JREST="$APPDIR/jrest"
  | 
            19 | 
            DOSSIER_JREST="$APPDIR/jrest"
  | 
          
          
            | 19 | 
            DOSSIER_JREST_DESTINATION="/www/eflore/coel/jrest"
  | 
            20 | 
            DOSSIER_JREST_DESTINATION="/www/eflore/coel/jrest"
  | 
          
          
            | 20 | 
            APPLI_SERVICE_BASE_URL="http://www.tela-botanica.org/eflore/coel/jrest/"
  | 
            21 | 
            APPLI_SERVICE_BASE_URL="http://www.tela-botanica.org/eflore/coel/jrest/"
  |