Subversion Repositories eFlore/Applications.coel

Rev

Rev 1424 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
768 gduche 1
#!/bin/sh
2
APPDIR=`dirname $0`;
1146 jpm 3
APPLI_NOM="Coel"
1417 jpm 4
APPDIR_ABSOLU=`pwd`;
5
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
1146 jpm 6
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
1417 jpm 7
APPLI_LIEN="org.tela_botanica.$NOM_DOSSIER_COURANT"
1146 jpm 8
 
768 gduche 9
# Création d'un lien symbolique si nécessaire.
1146 jpm 10
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
768 gduche 11
	cd $APPDIR/..;
1417 jpm 12
	ln -s $APPDIR_ABSOLU/war $APPLI_LIEN;
768 gduche 13
fi;
1417 jpm 14
 
15
# Lancement du mode débug
1525 jpm 16
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;