cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r474181 - in /incubator/cxf/trunk/benchmark/performance: basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java complex_type/src/org/apache/cxf/performance/complex_type/client/Client.java etc/common_build.xml
Date Mon, 13 Nov 2006 08:03:36 GMT
Author: ningjiang
Date: Mon Nov 13 00:03:35 2006
New Revision: 474181

URL: http://svn.apache.org/viewvc?view=rev&rev=474181
Log:
Added the client explict exit code for resource cleaning up in performance test

Modified:
    incubator/cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
    incubator/cxf/trunk/benchmark/performance/complex_type/src/org/apache/cxf/performance/complex_type/client/Client.java
    incubator/cxf/trunk/benchmark/performance/etc/common_build.xml

Modified: incubator/cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java?view=diff&rev=474181&r1=474180&r2=474181
==============================================================================
--- incubator/cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
(original)
+++ incubator/cxf/trunk/benchmark/performance/basic_type/src/org/apache/cxf/performance/basic_type/client/Client.java
Mon Nov 13 00:03:35 2006
@@ -93,7 +93,7 @@
             System.out.println("AVG Response Time " + testResult.getAvgResponseTime());
         }
         System.out.println("cxf client is going to shutdown!");
-        //System.exit(0);
+        System.exit(0);
     }
 
     public void doJob() {

Modified: incubator/cxf/trunk/benchmark/performance/complex_type/src/org/apache/cxf/performance/complex_type/client/Client.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/benchmark/performance/complex_type/src/org/apache/cxf/performance/complex_type/client/Client.java?view=diff&rev=474181&r1=474180&r2=474181
==============================================================================
--- incubator/cxf/trunk/benchmark/performance/complex_type/src/org/apache/cxf/performance/complex_type/client/Client.java
(original)
+++ incubator/cxf/trunk/benchmark/performance/complex_type/src/org/apache/cxf/performance/complex_type/client/Client.java
Mon Nov 13 00:03:35 2006
@@ -76,6 +76,7 @@
             System.out.println("AVG Response Time " + testResult.getAvgResponseTime());
         }
         System.out.println("cxf client is going to shutdown!");
+        System.exit(0);
     }
     
     private SimpleStruct getSimpleStruct() throws DatatypeConfigurationException {

Modified: incubator/cxf/trunk/benchmark/performance/etc/common_build.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/benchmark/performance/etc/common_build.xml?view=diff&rev=474181&r1=474180&r2=474181
==============================================================================
--- incubator/cxf/trunk/benchmark/performance/etc/common_build.xml (original)
+++ incubator/cxf/trunk/benchmark/performance/etc/common_build.xml Mon Nov 13 00:03:35 2006
@@ -106,23 +106,7 @@
         <delete dir="${activemq.home}/var"/>
     </target>
 
-    <!-- Target to start JMS Broker for JMS samples -->
-    <target name="jmsbroker.start">
-        <property name="derby.system.home" location="${build.var.dir}"/>
-
-        <java classname="org.activemq.spring.Main" fork="yes" dir="${activemq.home}/bin">
-            <classpath>
-                <path refid="cxf.classpath"/>
-            </classpath>
-            <arg value="${activemq.home}/conf/activemq.xml"/>
-            <jvmarg value="-Dactivemq.home=${activemq.home}"/>
-            <jvmarg value="-Dderby.system.home=${derby.system.home}"/>
-            <jvmarg value="-Dderby.storage.fileSyncTransactionLog=true"/>
-            <jvmarg value="-Dderby.storage.dir=${build.var.dir}"/>
-            <sysproperty key="log4j.configuration" value="file:///${cxf.etc.dir}/log4j.properties"/>
-        </java>
-    </target>
-        
+            
     <target name="build"  depends="compile" description="build demo client and server"/>
 
     <macrodef name="cxf.server.run">
@@ -141,7 +125,8 @@
 
     <macrodef name="cxf.client.run">
         <attribute name="classname"/>
-        <attribute name="argline" default=""/>         <sequential>
+        <attribute name="argline" default=""/>
+         <sequential>
             <java classname="@{classname}" fork="yes" maxMemory="512M" >
                 <jvmarg value="-Xms256M"/>
                 <classpath refid="cxf.classpath"/>



Mime
View raw message