Author: alessio.soldano(a)jboss.com
Date: 2011-11-22 10:03:56 -0500 (Tue, 22 Nov 2011)
New Revision: 15335
Modified:
hudson/trunk/scripts/jboss.sh
Log:
[JBWS-3389] AS 7.1.x now has standalone-full.xml and the messaging stuff is in there only
Modified: hudson/trunk/scripts/jboss.sh
===================================================================
--- hudson/trunk/scripts/jboss.sh 2011-11-22 10:15:54 UTC (rev 15334)
+++ hudson/trunk/scripts/jboss.sh 2011-11-22 15:03:56 UTC (rev 15335)
@@ -14,6 +14,11 @@
cp $JBOSS_HOME/standalone/configuration/standalone-preview.xml
$JBOSS_HOME/standalone/configuration/standalone.xml
fi
+# Overwrite standalone.xml with standalone-preview.xml if available (AS 7.1.x since
https://github.com/jbossas/jboss-as/commit/641a75718909fbe04f80a15740ecb2... )
+if [ -f "$JBOSS_HOME/standalone/configuration/standalone-full.xml" ]; then
+ cp $JBOSS_HOME/standalone/configuration/standalone-full.xml
$JBOSS_HOME/standalone/configuration/standalone.xml
+fi
+
if [ -f "$JBOSS_HOME/bin/run.sh" ]; then
RUN_CMD="$DIRNAME/runjboss.sh -b $BINDADDR"
else