You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ce...@apache.org on 2005/09/01 19:22:31 UTC

svn commit: r265759 - /xmlbeans/trunk/test/perf/bin/v2.bat

Author: cezar
Date: Thu Sep  1 10:22:27 2005
New Revision: 265759

URL: http://svn.apache.org/viewcvs?rev=265759&view=rev
Log:
Contributed by Rajiv Balachandran. Fixing classpath for xbean jar in performance test script

Modified:
    xmlbeans/trunk/test/perf/bin/v2.bat

Modified: xmlbeans/trunk/test/perf/bin/v2.bat
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/test/perf/bin/v2.bat?rev=265759&r1=265758&r2=265759&view=diff
==============================================================================
--- xmlbeans/trunk/test/perf/bin/v2.bat (original)
+++ xmlbeans/trunk/test/perf/bin/v2.bat Thu Sep  1 10:22:27 2005
@@ -1,60 +1,76 @@
-@echo off
-REM SUPPORTED PARAMS
-REM TODO: Make command line arg parsing cleaner
-set MEM=64
-set FLAVOR=
-set FILENAME=
-
-REM SCAN FIRST PARAM
-if not "%2"=="" goto %2
-goto default
-goto end
-:memory
-set MEM=%3
-goto end
-:flavor
-set FLAVOR=%3
-goto end
-:filename
-set FILENAME=%3
-goto end
-:default
-goto end
-:end
-
-REM SCAN SECOND PARAM
-if not "%4"=="" goto %4
-goto default
-goto end
-:memory
-set MEM=%5
-goto end
-:flavor
-set FLAVOR=%5
-goto end
-:filename
-set FILENAME=%5
-goto end
-:default
-goto end
-:end
-
-REM SCAN THIRD PARAM
-if not "%6"=="" goto %6
-goto default
-goto end
-:memory
-set MEM=%7
-goto end
-:flavor
-set FLAVOR=%7
-goto end
-:filename
-set FILENAME=%7
-goto end
-:default
-goto end
-:end
-
-echo on
-java -Xmx%MEM%m -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\v2-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\v2-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\v2-non-primitives.jar;%XMLBEANS_HOME%\build\lib\xbean.jar;%XMLBEANS_HOME%\build\lib\jsr173_api.jar;%XMLBEANS_HOME%\build\lib\saxon8.jar;%XMLBEANS_HOME%\build\lib\xbean_xpath.jar;%XMLBEANS_HOME%\external\lib\piccolo_apache_dist_20040629_v2.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.v2.%1 %FLAVOR% %FILENAME%
+@echo off
+REM   -------------------------------------------------------------------------
+REM    Copyright 2004 The Apache Software Foundation
+REM
+REM    Licensed under the Apache License, Version 2.0 (the "License");
+REM    you may not use this file except in compliance with the License.
+REM    You may obtain a copy of the License at
+REM
+REM        http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM    Unless required by applicable law or agreed to in writing, software
+REM    distributed under the License is distributed on an "AS IS" BASIS,
+REM    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM    See the License for the specific language governing permissions and
+REM    limitations under the License.
+REM   -------------------------------------------------------------------------
+
+REM SUPPORTED PARAMS
+REM TODO: Make command line arg parsing cleaner
+set MEM=64
+set FLAVOR=
+set FILENAME=
+
+REM SCAN FIRST PARAM
+if not "%2"=="" goto %2
+goto default
+goto end
+:memory
+set MEM=%3
+goto end
+:flavor
+set FLAVOR=%3
+goto end
+:filename
+set FILENAME=%3
+goto end
+:default
+goto end
+:end
+
+REM SCAN SECOND PARAM
+if not "%4"=="" goto %4
+goto default
+goto end
+:memory
+set MEM=%5
+goto end
+:flavor
+set FLAVOR=%5
+goto end
+:filename
+set FILENAME=%5
+goto end
+:default
+goto end
+:end
+
+REM SCAN THIRD PARAM
+if not "%6"=="" goto %6
+goto default
+goto end
+:memory
+set MEM=%7
+goto end
+:flavor
+set FLAVOR=%7
+goto end
+:filename
+set FILENAME=%7
+goto end
+:default
+goto end
+:end
+
+echo on
+java -Xmx%MEM%m -classpath %XMLBEANS_PERFROOT%\build;%XMLBEANS_PERFROOT%\schema_build\v2-purchase-order.jar;%XMLBEANS_PERFROOT%\schema_build\v2-primitives.jar;%XMLBEANS_PERFROOT%\schema_build\v2-non-primitives.jar;%XMLBEANS_PERFROOT%\3rdparty\v2\xmlbeans-2.0.0\lib\xbean.jar;%XMLBEANS_HOME%\build\lib\jsr173_api.jar;%XMLBEANS_HOME%\build\lib\saxon8.jar;%XMLBEANS_HOME%\build\lib\xbean_xpath.jar;%XMLBEANS_HOME%\external\lib\piccolo_apache_dist_20040629_v2.jar -DPERF_ROOT=%XMLBEANS_PERFROOT% org.apache.xmlbeans.test.performance.v2.%1 %FLAVOR% %FILENAME%



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org