Subversion Repositories eFlore/Applications.coel

Rev

Rev 1383 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1383 Rev 1390
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
APPDIR=`dirname $0`;
2
APPDIR=`dirname $0`;
3
APPLI_NOM="Coel"
3
APPLI_NOM="Coel"
-
 
4
APPDIR_ABSOLU=`pwd`;
-
 
5
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
4
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
6
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
5
APPLI_LIEN="$APPLI_DOMAINE"
7
APPLI_LIEN="org.tela_botanica.$NOM_DOSSIER_COURANT"
6
 
-
 
Line 7... Line 8...
7
 
8
 
8
# Création d'un lien symbolique si nécessaire.
9
# Création d'un lien symbolique si nécessaire.
9
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
10
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
10
	cd $APPDIR/..;
11
	cd $APPDIR/..;
11
	ln -s $APPDIR/war $APPLI_LIEN;
12
	ln -s $APPDIR_ABSOLU/war $APPLI_LIEN;
-
 
13
fi;
-
 
14
 
12
fi;
15
# Lancement du mode débug
13
java  -Xmx2048M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=3408,suspend=y -cp "$APPDIR/src:$APPDIR/bin:/opt/gwt-2.0.3/gwt-user.jar:/opt/gwt-2.0.3/gwt-dev.jar:/opt/gxt-2.1.1/gxt.jar" com.google.gwt.dev.DevMode -noserver -port 80 -startupUrl $APPLI_LIEN/$APPLI_NOM.html $APPLI_DOMAINE;
16
java  -Xmx2048M -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=3408,suspend=y -cp "$APPDIR/src:$APPDIR/bin:/opt/gwt-2.0.3/gwt-user.jar:/opt/gwt-2.0.3/gwt-dev.jar:/opt/gxt-2.1.1/gxt.jar" com.google.gwt.dev.DevMode -noserver -port 80 -startupUrl $APPLI_LIEN/$APPLI_NOM.html $APPLI_DOMAINE;