Author: jfrederic.clere(a)jboss.com
Date: 2012-04-11 03:27:42 -0400 (Wed, 11 Apr 2012)
New Revision: 2940
Modified:
trunk/build/unix/buildbin.mod_cluster.windows.sh
Log:
Arrange the windows build.
Modified: trunk/build/unix/buildbin.mod_cluster.windows.sh
===================================================================
--- trunk/build/unix/buildbin.mod_cluster.windows.sh 2012-04-10 16:32:30 UTC (rev 2939)
+++ trunk/build/unix/buildbin.mod_cluster.windows.sh 2012-04-11 07:27:42 UTC (rev 2940)
@@ -83,11 +83,16 @@
echo $PATH
java -version
(cd ${mod_cluster_sources} || exit 1
- mvn -P dist package -Djboss.server.log.dir=`pwd` -Djava.net.preferIPv4Stack=true
+ mvn -P dist install -Djboss.server.log.dir=`pwd` -Djava.net.preferIPv4Stack=true
if [ $? -ne 0 ]; then
echo "mvn -P dist install -Djboss.server.log.dir=`pwd`
-Djava.net.preferIPv4Stack=true FAILED"
exit 1
fi
+ mvn -P dist package -Djboss.server.log.dir=`pwd` -Djava.net.preferIPv4Stack=true
-Dmaven.test.skip=true
+ if [ $? -ne 0 ]; then
+ echo "mvn -P dist package -Djboss.server.log.dir=`pwd`
-Djava.net.preferIPv4Stack=true FAILED"
+ exit 1
+ fi
cp target/*-bin.* ${build_top}/output
) || exit 1