You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ni...@apache.org on 2007/06/26 06:18:58 UTC
svn commit: r550676 - in /incubator/cxf/trunk:
benchmark/performance/basic_type/bin/run_client
benchmark/performance/complex_type/bin/run_client
distribution/src/main/release/bin/mc.bat
Author: ningjiang
Date: Mon Jun 25 21:18:52 2007
New Revision: 550676
URL: http://svn.apache.org/viewvc?view=rev&rev=550676
Log:
Fixed mc.bat and run_client script errors
Modified:
incubator/cxf/trunk/benchmark/performance/basic_type/bin/run_client
incubator/cxf/trunk/benchmark/performance/complex_type/bin/run_client
incubator/cxf/trunk/distribution/src/main/release/bin/mc.bat
Modified: incubator/cxf/trunk/benchmark/performance/basic_type/bin/run_client
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/benchmark/performance/basic_type/bin/run_client?view=diff&rev=550676&r1=550675&r2=550676
==============================================================================
--- incubator/cxf/trunk/benchmark/performance/basic_type/bin/run_client (original)
+++ incubator/cxf/trunk/benchmark/performance/basic_type/bin/run_client Mon Jun 25 21:18:52 2007
@@ -17,7 +17,7 @@
# specific language governing permissions and limitations
# under the License.
-OPERARTION=echoString
+OPERATION=echoString
BASEDON=Time
AMOUNT=30
PACKETSIZE=1
@@ -27,9 +27,9 @@
for i in $@
do
- if [ "$i" = "-Operartion" ]
+ if [ "$i" = "-Operation" ]
then
- OPERARTION=$2
+ OPERATION=$2
fi
if [ "$i" = "-BasedOn" ]
@@ -67,6 +67,6 @@
done
cd ..
-ant client -Dcxf.running.time=$AMOUNT -Dcxf.operation=$OPERARTION -Dcxf.basedon=$BASEDON -Dcxf.packet.size=$PACKETSIZE -Dcxf.threads=$THREADS -Dcxf.host.name=$HOST -Dcxf.port.name=$PORT
+ant client -Dcxf.running.time=$AMOUNT -Dcxf.operation=$OPERATION -Dcxf.basedon=$BASEDON -Dcxf.packet.size=$PACKETSIZE -Dcxf.threads=$THREADS -Dcxf.host.name=$HOST -Dcxf.port.name=$PORT
Modified: incubator/cxf/trunk/benchmark/performance/complex_type/bin/run_client
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/benchmark/performance/complex_type/bin/run_client?view=diff&rev=550676&r1=550675&r2=550676
==============================================================================
--- incubator/cxf/trunk/benchmark/performance/complex_type/bin/run_client (original)
+++ incubator/cxf/trunk/benchmark/performance/complex_type/bin/run_client Mon Jun 25 21:18:52 2007
@@ -17,7 +17,7 @@
# specific language governing permissions and limitations
# under the License.
-OPERARTION=sendReceiveData
+OPERATION=sendReceiveData
BASEDON=Time
AMOUNT=30
PACKETSIZE=1
@@ -27,9 +27,9 @@
for i in $@
do
- if [ "$i" = "-Operartion" ]
+ if [ "$i" = "-Operation" ]
then
- OPERARTION=$2
+ OPERATION=$2
fi
if [ "$i" = "-BasedOn" ]
@@ -66,4 +66,4 @@
done
cd ..
-ant client -Dcxf.running.time=$AMOUNT -Dcxf.operation=$OPERARTION -Dcxf.basedon=$BASEDON -Dcxf.packet.size=$PACKETSIZE -Dcxf.threads=$THREADS -Dcxf.host.name=$HOST -Dcxf.port.name=$PORT
+ant client -Dcxf.running.time=$AMOUNT -Dcxf.operation=$OPERATION -Dcxf.basedon=$BASEDON -Dcxf.packet.size=$PACKETSIZE -Dcxf.threads=$THREADS -Dcxf.host.name=$HOST -Dcxf.port.name=$PORT
Modified: incubator/cxf/trunk/distribution/src/main/release/bin/mc.bat
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/bin/mc.bat?view=diff&rev=550676&r1=550675&r2=550676
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/bin/mc.bat (original)
+++ incubator/cxf/trunk/distribution/src/main/release/bin/mc.bat Mon Jun 25 21:18:52 2007
@@ -25,13 +25,11 @@
rem
rem @setlocal
-if not defined CXF_HOME goto set_cxf_home
-
+if not defined CXF_HOME goto set_cxf_home
+
:cont
if not defined JAVA_HOME goto no_java_home
-set SUN_TOOL_PATH=%JAVA_HOME%\lib\tools.jar;
-
if not exist "%CXF_HOME%\lib\cxf-manifest-incubator.jar" goto no_cxf_jar
set CXF_JAR=%CXF_HOME%\lib\cxf-manifest-incubator.jar
@@ -42,8 +40,18 @@
goto end
+:no_java_home
+echo ERROR: Set JAVA_HOME to the path where the J2SE 5.0 (JDK5.0) is installed
+goto end
+
:no_cxf_jar
echo ERROR: Unable to find cxf-manifest-incubator.jar in %cxf_home/lib
goto end
+:set_cxf_home
+set CXF_HOME=%~dp0..
+goto cont
+
:end
+
+