[jboss-cvs] JBoss Messaging SVN: r3906 - projects/network-benchmark.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Mar 21 08:34:01 EDT 2008


Author: jmesnil
Date: 2008-03-21 08:34:01 -0400 (Fri, 21 Mar 2008)
New Revision: 3906

Modified:
   projects/network-benchmark/build.xml
Log:
* added description & help

Modified: projects/network-benchmark/build.xml
===================================================================
--- projects/network-benchmark/build.xml	2008-03-21 12:26:01 UTC (rev 3905)
+++ projects/network-benchmark/build.xml	2008-03-21 12:34:01 UTC (rev 3906)
@@ -4,7 +4,7 @@
 
      jmesnil                                                                
      ====================================================================== -->
-<project name="network benchmark" default="compile">
+<project name="network benchmark" default="help">
 
     <path id="classpath">
        <pathelement path="build/ "/>
@@ -14,7 +14,15 @@
        <pathelement location="lib/slf4j-log4j12.jar"/>
        <pathelement location="lib/log4j.jar"/>
     </path>
-	
+
+	<target name="help" description="-> Display help">
+	<echo>
+- To start the servers, run "bio-server", "nio-server" &amp; "mina-server"
+  targets in 3 different terminals on the server machine
+- To run the client tests, run the "test" target on the client machine
+- To configure the tests, change the properties in NetworkClientTest.java
+  (on both the client &amp; server machines)</echo>
+	</target>
     <target name="compile">
     	<mkdir dir="build"/>
     	<javac srcdir="src" destdir="build"
@@ -22,28 +30,28 @@
 		/>
     </target>
 
-	<target name="bio-server" depends="compile">
+	<target name="bio-server" depends="compile" description="-> Start a Blocking IO Server">
 		<java classpathref="classpath" 
 			classname="network.BIOServer"
 		/>
 	</target>
 
-	<target name="nio-server" depends="compile">
+	<target name="nio-server" depends="compile" description="-> Start a NIO Server">
 		<java classpathref="classpath" 
 			classname="network.NIOServer"
 		/>
 	</target>
 
-	<target name="mina-server" depends="compile">
+	<target name="mina-server" depends="compile" description="-> Start a MINA Server">
 		<java classpathref="classpath" 
 			classname="network.MINAServer"
 			fork="yes"
 		/>
 	</target>
 	
-	<target name="test" depends="compile">
+	<target name="test" depends="compile" description="-> Run the tests">
 		<mkdir dir="output" />
-	    <junit printsummary="withOutAndErr" showoutput="true">
+	    <junit printsummary="true" showoutput="true">
 	    	<classpath>
 	    		<path refid="classpath"/>
 	        </classpath>




More information about the jboss-cvs-commits mailing list