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"
|
- |
|
6 |
|
- |
|
7 |
|
3 |
# Création d'un lien symbolique si nécessaire.
|
8 |
# Création d'un lien symbolique si nécessaire.
|
4 |
if [ ! -h $APPDIR/../org.tela_botanica.Coel ]; then
|
9 |
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
|
5 |
cd $APPDIR/..;
|
10 |
cd $APPDIR/..;
|
6 |
ln -s coel/war org.tela_botanica.Coel;
|
11 |
ln -s $APPDIR/war $APPLI_LIEN;
|
7 |
fi;
|
12 |
fi;
|
8 |
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.0/gwt-user.jar:/opt/gwt-2.0.0/gwt-dev.jar:/opt/gxt-2.1.0/gxt.jar" com.google.gwt.dev.DevMode -noserver -port 80 -startupUrl org.tela_botanica.Coel/Coel.html org.tela_botanica.Coel;
|
- |
|
9 |
|
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.0/gwt-user.jar:/opt/gwt-2.0.0/gwt-dev.jar:/opt/gxt-2.1.0/gxt.jar" com.google.gwt.dev.DevMode -noserver -port 80 -startupUrl $APPLI_LIEN/$APPLI_NOM.html $APPLI_DOMAINE;
|
- |
|
14 |
|
10 |
|
15 |
|