|
From: Ben W. <bw...@us...> - 2005-01-08 19:15:14
|
User: bwang00 Date: 05/01/08 11:15:07 Modified: . build.xml Log: Used -Dbind.address=node0 to be able to run under machine with multiple IP addresses. Note that node0 can be override in loca.properties but with default of localhost Revision Changes Path 1.436 +15 -8 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.435 retrieving revision 1.436 diff -u -r1.435 -r1.436 --- build.xml 6 Jan 2005 22:53:59 -0000 1.435 +++ build.xml 8 Jan 2005 19:15:02 -0000 1.436 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.435 2005/01/06 22:53:59 patriot1burke Exp $ --> +<!-- $Id: build.xml,v 1.436 2005/01/08 19:15:02 bwang00 Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -40,6 +40,12 @@ <os family="windows"/> </not> </condition> + + <!--We will use local.properties file to provide some configuration + to the testsuite mainly for the Clustering framework. Please + do not checkin your local.properties file into CVS--> + <property file="local.properties"/> + <!-- Cluster node0 defaults --> <property name="node0" value="localhost" /> <property name="node0.http.url" value="http://${node0}:8080" /> @@ -49,11 +55,6 @@ <property name="node1.http.url" value="http://${node1}:8080" /> <property name="node1.jndi.url" value="jnp://${node1}:1099" /> - <!--We will use local.properties file to provide some configuration to the testsuite - mainly for the Clustering framework. Please do not checkin your local.properties file - into CVS--> - <property file="local.properties"/> - <!-- =================== --> <!-- Basic Configuration --> <!-- =================== --> @@ -562,14 +563,14 @@ <target name="jboss-minimal-tests" description="Validate the minimal config"> - <start-jboss conf="minimal" host="${node0}" /> + <start-jboss conf="minimal" host="localhost" /> <copy file="${build.lib}/shutdown.sar" todir="${jboss.dist}/server/minimal/deploy" /> <!-- Wait for the 1099 jndi port --> <waitfor maxwait="30" maxwaitunit="second" checkevery="5" checkeveryunit="second" timeoutproperty="minimal.timeout"> <and> - <socket server="${node0}" port="1099" /> + <socket server="localhost" port="1099" /> </and> </waitfor> <fail message="Timeout waiting for minimal to start" if="minimal.timeout"/> @@ -855,6 +856,8 @@ jvm="${junit.jvm}"> <jvmarg value="${junit.jvm.options}"/> + <!-- Used for JGroups --> + <jvmarg value="-Dbind.address=${node0}"/> <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> <sysproperty key="build.testlog" value="${build.testlog}"/> <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/> @@ -1954,6 +1957,8 @@ <jvmarg value="${junit.jvm.options}"/> <jvmarg value="-Djava.security.manager"/> <jvmarg value="-Djava.security.policy==${build.resources}/client.policy"/> + <!-- Used for JGroups --> + <jvmarg value="-Dbind.address=${node0}"/> <sysproperty key="jbosstest.deploy.dir" value="${build.lib}"/> <sysproperty key="build.testlog" value="${build.testlog}"/> <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/> @@ -2110,6 +2115,8 @@ jvm="${junit.jvm}"> <jvmarg value="${junit.jvm.options}"/> + <!-- Used for JGroups --> + <jvmarg value="-Dbind.address=${node0}"/> <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> <sysproperty key="build.testlog" value="${build.testlog}"/> <sysproperty key="log4j.configuration" value="file:${build.resources}/log4j.xml"/> |