Subversion Repositories eFlore/Applications.coel

Rev

Rev 1424 | Go to most recent revision | 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 débug
java  -Xmx1024M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=3408,suspend=y -cp "$APPDIR/src:$APPDIR/bin:/opt/gwt-2.0.4/gwt-user.jar:/opt/gwt-2.0.4/gwt-dev.jar:/opt/gxt-2.1.1/gxt.jar" com.google.gwt.dev.DevMode -noserver -port 80 -startupUrl http://localhost/$APPLI_LIEN/$APPLI_NOM.html $APPLI_DOMAINE;