r669 - trunk/simexplorer-is-swing
Author: tchemit Date: 2008-02-04 19:51:54 +0000 (Mon, 04 Feb 2008) New Revision: 669 Modified: trunk/simexplorer-is-swing/go.sh Log: modification du script de d?\195?\169marrage : si une erreur intervient pendant l'ex?\195?\169cution de maven, on affiche la trace maven et on quitte Modified: trunk/simexplorer-is-swing/go.sh =================================================================== --- trunk/simexplorer-is-swing/go.sh 2008-02-04 19:50:57 UTC (rev 668) +++ trunk/simexplorer-is-swing/go.sh 2008-02-04 19:51:54 UTC (rev 669) @@ -99,9 +99,14 @@ ####### launch maven if required ############################################## ############################################################################### if [ ! "$MVN_ACTION" = "" ]; then - action="mvn $MVN_ACTION $OFF_LINE > $MOUTPUT" + action="mvn -e $MVN_ACTION $OFF_LINE > $MOUTPUT" echo "$action" eval "$action" + if [ $? != 0 ] ; then + echo "error with maven :" + cat $MOUTPUT + exit 1 + fi echo "mvn done." fi
participants (1)
-
tchemit@users.labs.libre-entreprise.org