Line 3... |
Line 3... |
3 |
APPDIR_ABSOLU=`pwd`;
|
3 |
APPDIR_ABSOLU=`pwd`;
|
4 |
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
|
4 |
NOM_DOSSIER_COURANT=`basename $APPDIR_ABSOLU`
|
5 |
DOSSIER_JREST="$APPDIR/jrest"
|
5 |
DOSSIER_JREST="$APPDIR/jrest"
|
6 |
APPLI_NOM="Coel"
|
6 |
APPLI_NOM="Coel"
|
7 |
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
|
7 |
APPLI_DOMAINE="org.tela_botanica.$APPLI_NOM"
|
8 |
APPLI_LIEN="$APPLI_DOMAINE"
|
- |
|
9 |
|
- |
|
10 |
# Création d'un lien symbolique si nécessaire.
|
- |
|
11 |
if [ ! -h $APPDIR/../$APPLI_LIEN ]; then
|
- |
|
12 |
ln -s $APPDIR_ABSOLU/war ../$APPLI_LIEN;
|
- |
|
13 |
fi;
|
- |
|
Line 14... |
Line 8... |
14 |
|
8 |
|
15 |
# Création du fichier config.js si nécessaire
|
9 |
# Création du fichier config.js si nécessaire
|
16 |
if [ ! -f $APPDIR/war/config.js ]; then
|
10 |
if [ ! -f $APPDIR/war/config.js ]; then
|
17 |
cp $APPDIR/war/config.defaut.js $APPDIR/war/config.js;
|
11 |
cp $APPDIR/war/config.defaut.js $APPDIR/war/config.js;
|
Line 39... |
Line 33... |
39 |
export COEL_REVISION_GLOBAL_JREST=`svnversion -n $DOSSIER_JREST`;
|
33 |
export COEL_REVISION_GLOBAL_JREST=`svnversion -n $DOSSIER_JREST`;
|
40 |
perl -e 'print "Révision globale Jrest :".$ENV{COEL_REVISION_GLOBAL_JREST},"\n"'
|
34 |
perl -e 'print "Révision globale Jrest :".$ENV{COEL_REVISION_GLOBAL_JREST},"\n"'
|
41 |
perl -pi -e 's/revisionGlobaleJrest:"[^"]*"/revisionGlobaleJrest:"$ENV{COEL_REVISION_GLOBAL_JREST}"/g' $APPDIR/war/apropos.js
|
35 |
perl -pi -e 's/revisionGlobaleJrest:"[^"]*"/revisionGlobaleJrest:"$ENV{COEL_REVISION_GLOBAL_JREST}"/g' $APPDIR/war/apropos.js
|
Line 42... |
Line 36... |
42 |
|
36 |
|
43 |
# Lancement de la compilation
|
- |
|
44 |
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.Compiler $APPLI_DOMAINE;
|
37 |
# Lancement de la compilation
|
- |
|
38 |
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.Compiler -localWorkers 4 $APPLI_DOMAINE;
|
45 |
|
39 |
|