[jboss-remoting-commits] JBoss Remoting SVN: r5676 - remoting2/branches/2.2.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Wed Jan 27 13:48:39 EST 2010


Author: rachmatowicz at jboss.com
Date: 2010-01-27 13:48:39 -0500 (Wed, 27 Jan 2010)
New Revision: 5676

Modified:
   remoting2/branches/2.2/build.xml
Log:
Update test targets to pass JRunit system properties passed by the user to the spawned JVMs (JBREM-1182).

Modified: remoting2/branches/2.2/build.xml
===================================================================
--- remoting2/branches/2.2/build.xml	2010-01-27 18:14:09 UTC (rev 5675)
+++ remoting2/branches/2.2/build.xml	2010-01-27 18:48:39 UTC (rev 5676)
@@ -29,6 +29,39 @@
    <property name="compile.source" value="${ant.java.version}"/>
    <property name="compile.target" value="${ant.java.version}"/>
 
+   <!-- ================================================================== -->
+   <!-- Sets bind address and port used by jrunit/jgroups multicast socket -->
+   <!-- ================================================================== -->
+	
+   <condition property="bind.address" value="${jrunit.bind_addr}" else="127.0.0.1">
+   	  <isset property="jrunit.bind_addr"/>
+   </condition>
+    <condition property="multicast.address" value="${jrunit.mcast_addr}" else="228.15.2.3">
+    	  <isset property="jrunit.mcast_addr"/>
+    </condition>
+    <condition property="multicast.port" value="${jrunit.mcast_port}" else="45566">
+    	  <isset property="jrunit.mcast_port"/>
+    </condition>
+    <condition property="receiveOnAllInterfaces" value="${jrunit.receive_on_all_interfaces}" else="false">
+    	  <isset property="jrunit.receive_on_all_interfaces"/>
+    </condition>
+    <condition property="sendOnAllInterfaces" value="${jrunit.send_on_all_interfaces}" else="false">
+    	  <isset property="jrunit.send_on_all_interfaces"/>
+    </condition>
+    <condition property="sendInterfaces" value="${jrunit.send_interfaces}" else="none">
+    	  <isset property="jrunit.send_interfaces"/>
+    </condition>
+	<echo>
+	JRunit system property values:
+	jrunit.bind_addr=${bind.address}
+	jrunit.mcast_addr=${multicast.address}
+	jrunit.mcast_port=${multicast.port}
+	jrunit.receiveOnAllInterfaces=${receiveOnAllInterfaces}
+	jrunit.sendOnAllInterfaces=${sendOnAllInterfaces}
+	jrunit.sendInterfaces=${sendInterfaces}
+    </echo>
+    	
+    	
    <target name="configure" depends="get-jvm" unless="configure.disable">
       <property file="local.properties" />
     
@@ -69,9 +102,10 @@
       <!-- test properties -->
       <property name="tests.src.dir" value="${tests.dir}"/>
       <property name="tests.compile.dir" value="${output.dir}/tests/classes"/>
-      <property name="output.tests.classes" value="${output.dir}/tests/classes"/>
-      <property name="output.tests.results" value="${output.dir}/tests/results"/>
-      <property name="output.tests.performance" value="${output.dir}/tests/performance"/>
+      <property name="output.tests" value="${output.dir}/tests"/>
+      <property name="output.tests.classes" value="${output.tests}/classes"/>
+      <property name="output.tests.results" value="${output.tests}/results"/>
+      <property name="output.tests.performance" value="${output.tests}/performance"/>
 
       <property name="manifest.file" value="${output.etc.dir}/default.mf"/>
 
@@ -700,6 +734,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -730,6 +776,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -768,6 +826,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -789,6 +859,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -810,6 +892,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -832,6 +926,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -851,6 +957,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <!-- this is needed for the remoting.marshall.dynamic.remote.MarshallerLoadingServer -->
          <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
          <formatter type="xml"/>
@@ -892,15 +1010,25 @@
    <target name="tests.socket" depends="tests.jars">
       <mkdir dir="${output.tests.results}"/>
       <junit printsummary="true" fork="yes" includeantruntime="true">
-
-         <jvmarg value="-Dremoting.metadata=${metadata}"/>
-
          <classpath>
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <!-- this is needed for the remoting.marshall.dynamic.remote.MarshallerLoadingServer -->
          <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
+         <jvmarg value="-Dremoting.metadata=${metadata}"/>
          <formatter type="xml"/>
          <batchtest fork="yes" todir="${output.tests.results}"
                     haltonfailure="no">
@@ -924,6 +1052,18 @@
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
             <!--<path refid="third_party.classpath"/>            -->
          </classpath>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <!-- this is needed for the remoting.marshall.dynamic.remote.MarshallerLoadingServer -->
          <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
          <formatter type="xml"/>
@@ -1046,6 +1186,18 @@
          <path refid="tests.classpath"/>
          <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
        </classpath>
+       <!-- set system properties required by JRunit -->
+       <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+       <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+       <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+       <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+       <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+       <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+       <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+       <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+       <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+       <sysproperty key="build.home" value="${basedir}"/>
+
        <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                   extension="-java_serialization.xml"/>
        <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1076,6 +1228,18 @@
            <path refid="tests.classpath"/>
            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
         </classpath>
+        <!-- set system properties required by JRunit -->
+       <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+       <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+       <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+       <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+       <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+       <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+       <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+       <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+       <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+       <sysproperty key="build.home" value="${basedir}"/>
+ 
         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                    extension="-java_serialization.xml"/>
         <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1106,6 +1270,18 @@
            <path refid="tests.classpath"/>
            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
         </classpath>
+        <!-- set system properties required by JRunit -->
+        <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+        <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+        <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+        <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+        <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+        <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+        <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+        <sysproperty key="build.home" value="${basedir}"/>
+
         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                    extension="-java_serialization.xml"/>
         <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1136,6 +1312,18 @@
            <path refid="tests.classpath"/>
            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
         </classpath>
+        <!-- set system properties required by JRunit -->
+        <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+        <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+        <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+        <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+        <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+        <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+        <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+        <sysproperty key="build.home" value="${basedir}"/>
+
         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                    extension="-java_serialization.xml"/>
         <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1166,6 +1354,18 @@
            <path refid="tests.classpath"/>
            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
         </classpath>
+        <!-- set system properties required by JRunit -->
+        <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+        <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+        <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+        <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+        <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+        <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+        <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+        <sysproperty key="build.home" value="${basedir}"/>
+
         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                    extension="-java_serialization.xml"/>
         <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1196,6 +1396,19 @@
            <path refid="tests.classpath"/>
            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
         </classpath>
+   	
+        <!-- set system properties required by JRunit -->
+        <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+        <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+        <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+        <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+        <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+        <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+        <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+        <sysproperty key="build.home" value="${basedir}"/>
+
         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                    extension="-java_serialization.xml"/>
         <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1226,6 +1439,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-java_serialization.xml"/>
          <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1256,6 +1481,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-java_serialization.xml"/>
          <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1286,6 +1523,18 @@
            <path refid="tests.classpath"/>
            <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
         </classpath>
+        <!-- set system properties required by JRunit -->
+        <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+        <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+        <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+        <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+        <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+        <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+        <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+        <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+        <sysproperty key="build.home" value="${basedir}"/>
+
         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                    extension="-java_serialization.xml"/>
         <batchtest fork="yes" todir="${output.tests.results}" haltonfailure="no">
@@ -1788,6 +2037,18 @@
             <path refid="third_party.classpath"/>
             <path refid="tests.version.classpath"/>
          </classpath>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <jvmarg value="-Dclient.path=${client.classpath}"/>
          <jvmarg value="-Dserver.path=${server.classpath}"/>
          <!--<jvmarg value="-Djboss.remoting.pre_2_0_compatible=${jboss.remoting.pre_2_0_compatible}"/>-->
@@ -1820,6 +2081,18 @@
          <jvmarg value="-Dclient.pre_2_0_compatible=${client.pre_2_0_compatible}"/>
          <jvmarg value="-Dserver.pre_2_0_compatible=${server.pre_2_0_compatible}"/>
          <jvmarg value="-Dremoting.metadata=check_connection=${check_connection}"/>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -1851,6 +2124,19 @@
          <jvmarg value="-Dclient.pre_2_0_compatible=${client.pre_2_0_compatible}"/>
          <jvmarg value="-Dserver.pre_2_0_compatible=${server.pre_2_0_compatible}"/>
          <jvmarg value="-Dremoting.metadata=check_connection=${check_connection}"/>
+
+   	     <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -1881,6 +2167,18 @@
          <jvmarg value="-Dserver.version=${server.version}"/>
          <jvmarg value="-Dclient.pre_2_0_compatible=${client.pre_2_0_compatible}"/>
          <jvmarg value="-Dserver.pre_2_0_compatible=${server.pre_2_0_compatible}"/>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -1997,6 +2295,19 @@
          <jvmarg value="-Dserver.pre_2_0_compatible=${server.pre_2_0_compatible}"/>
          <jvmarg value="-Dclient.check_connection=${client.check_connection}"/>
          <jvmarg value="-Dserver.check_connection=${server.check_connection}"/>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2021,6 +2332,18 @@
          <jvmarg value="-Dclient.path=${client.classpath}"/>
          <jvmarg value="-Dserver.path=${server.classpath}"/>
          <jvmarg value="-Djboss.remoting.pre_2_0_compatible=${jboss.remoting.pre_2_0_compatible}"/>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2047,6 +2370,18 @@
          <jvmarg value="-Dclient.path=${client.classpath}"/>
          <jvmarg value="-Dserver.path=${server.classpath}"/>
          <jvmarg value="-Djboss.remoting.pre_2_0_compatible=${jboss.remoting.pre_2_0_compatible}"/>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+  	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2061,13 +2396,13 @@
          </batchtest>
       </junit>
    </target>
-	   <target name="tests.versioning.lease" depends="configure">
+   <target name="tests.versioning.lease" depends="configure">
     <antcall target="tests.versioning.lease.sub" inheritrefs="true">
        <param name="jboss-junit-configuration" value="${module.version.extension}"/>
        <param name="client.classpath" value="${output.lib.dir}/jboss-remoting.jar"/>
        <param name="server.classpath" value="${output.lib.dir}/jboss-remoting.jar"/>
     </antcall>
-	   	</target>
+    </target>
 	
 	   <target name="tests.versioning.lease.sub"
 	           description="Runs remoting fuctional tests with different remoting versions for client and server."
@@ -2086,6 +2421,18 @@
 	         <jvmarg value="-Dclient.pre_2_0_compatible=false"/>
 	         <jvmarg value="-Dserver.pre_2_0_compatible=false"/>
 	         <jvmarg value="-Dremoting.metadata=check_connection=false"/>
+             <!-- set system properties required by JRunit -->
+             <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+             <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+             <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+             <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+             <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+             <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+             <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+             <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+             <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+             <sysproperty key="build.home" value="${basedir}"/>
+   	
 	         <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
 	         <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
 	                    extension="-${jboss-junit-configuration}.xml"/>
@@ -2097,6 +2444,7 @@
 	         </batchtest>
 	      </junit>
 	   </target>
+   	
    <!-- Tests only the multiplex transport -->
    <target name="tests.multiplex" depends="tests.jars">
       <mkdir dir="${output.tests.results}"/>
@@ -2108,6 +2456,18 @@
          </classpath>
          <!-- this is needed for the remoting.marshall.dynamic.remote.MarshallerLoadingServer -->
          <jvmarg value="-Dloader.path=${output.lib.dir}/jboss-remoting-loading-tests.jar"/>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <formatter type="xml"/>
          <batchtest fork="yes" todir="${output.tests.results}"
                     haltonfailure="no">
@@ -2368,8 +2728,7 @@
    <target name="tests.performance.socket.only" depends="configure">
       <mkdir dir="${output.tests.performance}"/>
 
-      <taskdef name="receiver" classname="org.jboss.jrunit.controller.ant.AntBenchmarkReceiver"
-               classpathref="tests.classpath"/>
+      <taskdef name="receiver" classname="org.jboss.jrunit.controller.ant.AntBenchmarkReceiver" classpathref="tests.classpath"/>
       <taskdef name="quit" classname="org.jboss.jrunit.controller.ant.AntQuitBenchmark" classpathref="tests.classpath"/>
       <receiver>
          <databasereceiver jdbcClass="${jdbc-driver-class}" jdbcURL="${jdbc-driver-url}"
@@ -2422,6 +2781,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2449,6 +2821,19 @@
          <!--<jvmarg value="-Djrunit.result_timeout=300000"/>-->
          <!--<jvmarg value="-Djrunit.tear_down_timeout=300000"/>-->
          <!--<jvmarg value="-Djrunit.run_test_timeout=300000"/>-->
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <classpath>
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
@@ -2652,6 +3037,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2703,6 +3100,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2736,6 +3146,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2766,6 +3189,18 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2796,6 +3231,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2826,6 +3274,19 @@
               <path refid="tests.classpath"/>
               <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
            </classpath>
+   	
+           <!-- set system properties required by JRunit -->
+           <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+           <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+           <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+           <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+           <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+           <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+           <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+           <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+           <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+           <sysproperty key="build.home" value="${basedir}"/>
+   	
            <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
            <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                       extension="-${jboss-junit-configuration}.xml"/>
@@ -2856,6 +3317,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2886,6 +3360,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -2917,6 +3404,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -3100,6 +3600,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -3135,6 +3648,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+   	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>
@@ -3166,6 +3692,19 @@
             <path refid="tests.classpath"/>
             <pathelement location="${output.lib.dir}/jboss-remoting-tests.jar"/>
          </classpath>
+   	
+         <!-- set system properties required by JRunit -->
+         <sysproperty key="jrunit.bind_addr"  value="${bind.address}"/>
+         <sysproperty key="jrunit.mcast_addr" value="${multicast.address}"/>
+         <sysproperty key="jrunit.mcast_port" value="${multicast.port}"/>
+         <sysproperty key="jrunit.receive_on_all_interfaces" value="${receiveOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_on_all_interfaces" value="${sendOnAllInterfaces}"/>
+         <sysproperty key="jrunit.send_interfaces" value="${sendInterfaces}"/>
+         <sysproperty key="jrunit.logdir" value="${output.tests}"/>
+         <sysproperty key="remoting.jar.dir" value="${basedir}/output/lib"/>
+         <sysproperty key="ant.library.dir" value="${ant.library.dir}"/>
+         <sysproperty key="build.home" value="${basedir}"/>
+  	
          <sysproperty key="jboss-junit-configuration" value="${jboss-junit-configuration}"/>
          <formatter classname="org.jboss.ant.taskdefs.XMLJUnitMultipleResultFormatter"
                     extension="-${jboss-junit-configuration}.xml"/>



More information about the jboss-remoting-commits mailing list