From: Ben W. <bw...@us...> - 2005-01-08 19:49:37
|
User: bwang00 Date: 05/01/08 11:49:29 Modified: . Tag: Branch_3_2 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.165.2.178 +10 -7 jbosstest/build.xml Index: build.xml =================================================================== RCS file: /cvsroot/jboss/jbosstest/build.xml,v retrieving revision 1.165.2.177 retrieving revision 1.165.2.178 diff -u -r1.165.2.177 -r1.165.2.178 --- build.xml 29 Dec 2004 23:09:38 -0000 1.165.2.177 +++ build.xml 8 Jan 2005 19:49:25 -0000 1.165.2.178 @@ -6,7 +6,7 @@ <!-- See terms of license at http://www.gnu.org. --> <!-- ============================================================ --> -<!-- $Id: build.xml,v 1.165.2.177 2004/12/29 23:09:38 starksm Exp $ --> +<!-- $Id: build.xml,v 1.165.2.178 2005/01/08 19:49: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 --> <!-- =================== --> @@ -838,6 +838,7 @@ jvm="${junit.jvm}"> <jvmarg value="${junit.jvm.options}"/> + <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"/> @@ -1530,6 +1531,7 @@ <jvmarg value="${junit.jvm.options}"/> <jvmarg value="-Djava.security.manager"/> <jvmarg value="-Djava.security.policy==${build.resources}/client.policy"/> + <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"/> @@ -1683,6 +1685,7 @@ jvm="${junit.jvm}"> <jvmarg value="${junit.jvm.options}"/> + <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"/> |