Rev 1390 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#!/bin/sh
APPDIR=`dirname $0`;
APPLI_NOM="Coel"
APPDIR_ABSOLU=`pwd`;
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
APPLI_LIEN="org.tela_botanica.$NOM_DOSSIER_COURANT"
# Création d'un lien symbolique si nécessaire.
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
cd $APPDIR/..;
ln -s $APPDIR_ABSOLU/war $APPLI_LIEN;
fi;
# Lancement du mode hosted
java -Xmx1024M -cp "$APPDIR/src:$APPDIR/bin:/opt/gwt-2.0.3/gwt-user.jar:/opt/gwt-2.0.3/gwt-dev.jar:/opt/gxt-2.1.1/gxt.jar" com.google.gwt.dev.DevMode -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl http://localhost/$APPLI_LIEN/$APPLI_NOM.html $APPLI_DOMAINE;