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`;
1556 jpm 5
APPLI_NOM_DOSSIER=`basename $APPDIR_ABSOLU`
1553 jpm 6
APPLI_NOM=`basename $APPDIR_ABSOLU | sed 's/^./\u&/'`
1146 jpm 7
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
1556 jpm 8
APPLI_LIEN="http://localhost/$APPLI_NOM_DOSSIER/war/$APPLI_NOM.html"
1553 jpm 9
CLASSPATH=$(cat "$APPDIR_ABSOLU/$APPLI_NOM-classpath" | sed -e :a -e '$!N;s/\n//;ta')
1146 jpm 10
 
1553 jpm 11
# Mise à jour de la config de l'application
12
sh $APPLI_NOM-config
13
 
1417 jpm 14
# Lancement du mode hosted
1553 jpm 15
java -Xmx1024M -cp $CLASSPATH com.google.gwt.dev.DevMode -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl $APPLI_LIEN $APPLI_DOMAINE;