|
From: Ben W. <bw...@us...> - 2005-01-08 19:29:34
|
User: bwang00 Date: 05/01/08 11:29:27 Modified: . Tag: Branch_4_0 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 No revision No revision 1.406.2.33 +14 -7 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.406.2.32 retrieving revision 1.406.2.33 diff -u -r1.406.2.32 -r1.406.2.33 --- build.xml 23 Dec 2004 04:58:13 -0000 1.406.2.32 +++ build.xml 8 Jan 2005 19:29:25 -0000 1.406.2.33 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.406.2.32 2004/12/23 04:58:13 starksm Exp $ --> +<!-- $Id: build.xml,v 1.406.2.33 2005/01/08 19:29:25 bwang00 Exp $ --> <project default="main" name="JBoss/Testsuite"> <import file="../tools/etc/buildmagic/build-common.xml"/> @@ -23,7 +23,6 @@ <property name="results_web" value="http://jboss.sourceforge.net/junit-results/32"/> <property name="buildlog.level" value="info"/> - <property environment="env"/> <!-- Set a hostname property based on COMPUTERNAME for win32, HOSTNAME otherwise and initialize the node0/node1 cluster hostnames to localhost @@ -40,6 +39,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 +54,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 --> <!-- =================== --> @@ -978,6 +978,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"/> @@ -2126,7 +2128,10 @@ <jvmarg value="${junit.jvm.options}"/> <jvmarg value="-Djava.security.manager"/> + <jvmarg value="-Dbind.address=${env.MYTESTIP_1}"/> <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"/> @@ -2283,6 +2288,8 @@ jvm="${junit.jvm}"> <jvmarg value="${junit.jvm.options}"/> + <!-- Used for JGroups --> + <jvmarg value="-Dbind.address=${node0}"/> <sysproperty key="java.endorsed.dirs" value="${jboss.dist}/lib/endorsed"/> <sysproperty key="jbosstest.deploy.dir" file="${build.lib}"/> <sysproperty key="build.testlog" value="${build.testlog}"/> |