Subversion Repositories eFlore/Applications.coel

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
768 gduche 1
#!/bin/sh
1553 jpm 2
# Lancement de l'application en mode debug
768 gduche 3
APPDIR=`dirname $0`;
1417 jpm 4
APPDIR_ABSOLU=`pwd`;
1553 jpm 5
APPLI_NOM=`basename $APPDIR_ABSOLU | sed 's/^./\u&/'`
6
APPLI_DOMAINE="org.clapas.$APPLI_NOM"
7
APPLI_LIEN = http://localhost/$APPLI_NOM/war/$APPLI_NOM.html
8
CLASSPATH=$(cat "$APPDIR/$APPLI_NOM-classpath" | sed -e :a -e '$!N;s/\n//;ta')
1146 jpm 9
 
1553 jpm 10
# Mise à jour de la config de l'application
11
sh $APPLI_NOM-config
1417 jpm 12
 
13
# Lancement du mode débug
1553 jpm 14
java -Xmx1024M -Xdebug -Xnoagent -cp $CLASSPATH -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=3408,suspend=y com.google.gwt.dev.DevMode -noserver -port 80 -startupUrl $APPLI_LIEN $APPLI_DOMAINE;