Subversion Repositories eFlore/Applications.coel

Rev

Rev 1424 | Rev 1525 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1424 Rev 1523
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`;
4
APPDIR_ABSOLU=`pwd`;
5
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
5
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
6
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
6
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
7
APPLI_LIEN="org.tela_botanica.$NOM_DOSSIER_COURANT"
7
APPLI_LIEN="http://localhost/$NOM_DOSSIER_COURANT/war/$APPLI_NOM.html"
8
 
-
 
9
# Création d'un lien symbolique si nécessaire.
-
 
10
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
-
 
11
	cd $APPDIR/..;
-
 
12
	ln -s $APPDIR_ABSOLU/war $APPLI_LIEN;
-
 
13
fi;
-
 
14
 
8
 
15
# Lancement du mode hosted
-
 
16
java  -Xmx1024M -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 -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl http://localhost/$APPLI_LIEN/$APPLI_NOM.html $APPLI_DOMAINE;
9
# Lancement du mode hosted
-
 
10
java  -Xmx1024M -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 -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl $APPLI_LIEN $APPLI_DOMAINE;
17
11