Subversion Repositories eFlore/Applications.coel

Rev

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

Rev Author Line No. Line
10 jpm 1
#!/bin/sh
1553 jpm 2
# Lancement du mode développement de l'application
10 jpm 3
APPDIR=`dirname $0`;
1417 jpm 4
APPDIR_ABSOLU=`pwd`;
1553 jpm 5
APPLI_NOM=`basename $APPDIR_ABSOLU | sed 's/^./\u&/'`
1146 jpm 6
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
1553 jpm 7
APPLI_LIEN="http://localhost/$APPLI_NOM/war/$APPLI_NOM.html"
8
CLASSPATH=$(cat "$APPDIR_ABSOLU/$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
12
 
1417 jpm 13
# Lancement du mode hosted
1553 jpm 14
java -Xmx1024M -cp $CLASSPATH com.google.gwt.dev.DevMode -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl $APPLI_LIEN $APPLI_DOMAINE;