riftsaw SVN: r1028 - trunk/qa.
by riftsaw-commits@lists.jboss.org
Author: objectiser
Date: 2010-10-07 04:42:24 -0400 (Thu, 07 Oct 2010)
New Revision: 1028
Modified:
trunk/qa/build.xml
trunk/qa/hudson-riftsaw-jboss-no-esb.sh
Log:
Fix script so install AS without ESB.
Modified: trunk/qa/build.xml
===================================================================
--- trunk/qa/build.xml 2010-10-07 08:20:38 UTC (rev 1027)
+++ trunk/qa/build.xml 2010-10-07 08:42:24 UTC (rev 1028)
@@ -92,14 +92,19 @@
<delete dir="${jboss.home}" />
</target>
+ <!-- ### INSTALL JBOSS App Server################################################## -->
+ <target name="install.jbossas"
+ depends="get.jboss"
+ description="Install JBoss AS server">
+ <unzip src="${jboss.distro.path}" dest="${jboss.parent.dir}" />
+ <chmod perm="a+x" file="${jboss.home}/bin/run.sh" os="Linux, Mac OS X" />
+ <chmod perm="a+x" file="${jboss.home}/bin/shutdown.sh" os="Linux, Mac OS X" />
+ </target>
+
<!-- ### INSTALL JBOSS ESB Server################################################## -->
<target name="install.jbossesb"
- depends="get.jboss, get.jbossesb"
+ depends="install.jbossas, get.jbossesb"
description="Install JBoss ESB into JBoss AS server">
- <unzip src="${jboss.distro.path}" dest="${jboss.parent.dir}" />
- <chmod perm="a+x" file="${jboss.home}/bin/run.sh" os="Linux, Mac OS X" />
- <chmod perm="a+x" file="${jboss.home}/bin/shutdown.sh" os="Linux, Mac OS X" />
-
<unzip src="${jbossesb.distro.path}" dest="${jboss.parent.dir}" />
<ant dir="${jboss.parent.dir}/jbossesb-${jbossesb.version}/install" target="deploy">
Modified: trunk/qa/hudson-riftsaw-jboss-no-esb.sh
===================================================================
--- trunk/qa/hudson-riftsaw-jboss-no-esb.sh 2010-10-07 08:20:38 UTC (rev 1027)
+++ trunk/qa/hudson-riftsaw-jboss-no-esb.sh 2010-10-07 08:42:24 UTC (rev 1028)
@@ -5,6 +5,7 @@
MAVEN_OPTS="-Xms512M -Xmx1024M"
RIFTSAW_PARENT_DIR="$WORKSPACE"
+DOWNLOAD_DIR="$RIFTSAW_PARENT_DIR/downloads"
JBOSS_VERSION="5.1.0.GA"
RIFTSAW_VERSION="2.2.0-SNAPSHOT"
@@ -30,6 +31,7 @@
cd qa
ant $ANT_PROPERTIES stop-server
ant $ANT_PROPERTIES clean
+ant $ANT_PROPERTIES install.jbossas
# build the RiftSaw and run integration tests