Subversion Repositories eFlore/Applications.coel

Rev

Rev 1556 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#!/bin/sh
# Lancement du mode développement de l'application
APPDIR=`dirname $0`;
APPDIR_ABSOLU=`pwd`;
APPLI_NOM_DOSSIER=`basename $APPDIR_ABSOLU`
APPLI_NOM=`basename $APPDIR_ABSOLU | sed 's/^./\u&/'`
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
APPLI_LIEN="http://localhost/$APPLI_NOM_DOSSIER/war/$APPLI_NOM.html"
CLASSPATH=$(cat "$APPDIR_ABSOLU/$APPLI_NOM-classpath" | sed -e :a -e '$!N;s/\n//;ta')

# Mise à jour de la config de l'application
sh $APPLI_NOM-config

# Lancement du mode hosted
java -Xmx1024M -cp $CLASSPATH com.google.gwt.dev.DevMode -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl $APPLI_LIEN $APPLI_DOMAINE;