Subversion Repositories eFlore/Applications.coel

Rev

Rev 1525 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1525 Rev 1553
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
-
 
2
# Lancement de l'application en mode debug
2
APPDIR=`dirname $0`;
3
APPDIR=`dirname $0`;
3
APPLI_NOM="Coel"
-
 
4
APPDIR_ABSOLU=`pwd`;
4
APPDIR_ABSOLU=`pwd`;
5
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
5
APPLI_NOM=`basename $APPDIR_ABSOLU | sed 's/^./\u&/'`
6
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
6
APPLI_DOMAINE="org.clapas.$APPLI_NOM"
7
APPLI_LIEN="org.tela_botanica.$NOM_DOSSIER_COURANT"
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')
Line 8... Line 9...
8
 
9
 
9
# Création d'un lien symbolique si nécessaire.
-
 
10
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
10
# Mise à jour de la config de l'application
11
	cd $APPDIR/..;
-
 
12
	ln -s $APPDIR_ABSOLU/war $APPLI_LIEN;
-
 
Line 13... Line 11...
13
fi;
11
sh $APPLI_NOM-config
14
 
-
 
15
# Lancement du mode débug
12
 
-
 
13
# Lancement du mode débug
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;
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;