Line 1... |
Line 1... |
1 |
#!/bin/sh
|
1 |
#!/bin/sh
|
2 |
APPDIR=`dirname $0`;
|
2 |
APPDIR=`dirname $0`;
|
- |
|
3 |
APPLI_NOM="Coel"
|
- |
|
4 |
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
|
- |
|
5 |
APPLI_LIEN="$APPLI_DOMAINE-syrah"
|
- |
|
6 |
|
3 |
# Création d'un lien symbolique si nécessaire.
|
7 |
# Création d'un lien symbolique si nécessaire.
|
4 |
if [ ! -h $APPDIR/../org.tela_botanica.Coel ]; then
|
8 |
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
|
5 |
cd $APPDIR/..;
|
9 |
cd $APPDIR/..;
|
6 |
ln -s coel/war org.tela_botanica.Coel;
|
10 |
ln -s $APPDIR/war $APPLI_LIEN;
|
7 |
fi;
|
11 |
fi;
|
8 |
java -Xmx1024M -cp "$APPDIR/src:$APPDIR/bin:/opt/gwt-2.0.0/gwt-user.jar:/opt/gwt-2.0.0/gwt-dev.jar:/opt/gxt-2.1.0/gxt.jar" com.google.gwt.dev.DevMode -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl org.tela_botanica.Coel/Coel.html org.tela_botanica.Coel;
|
- |
|
9 |
|
12 |
java -Xmx1024M -cp "$APPDIR/src:$APPDIR/bin:/opt/gwt-2.0.0/gwt-user.jar:/opt/gwt-2.0.0/gwt-dev.jar:/opt/gxt-2.1.0/gxt.jar" com.google.gwt.dev.DevMode -whitelist http://www.tela-botanica.org -noserver -port 80 -startupUrl $APPLI_LIEN/$APPLI_NOM.html $APPLI_DOMAINE;
|
- |
|
13 |
|
10 |
|
14 |
|