Skip to content

Commit

Permalink
Fix the run script for stress test (for windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
uudashr committed Nov 11, 2008
1 parent 8d2ad88 commit a4d92e0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 7 deletions.
22 changes: 19 additions & 3 deletions stress/lcp.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights
REM reserved.
REM
REM Licensed to the Apache Software Foundation (ASF) under one or more
REM contributor license agreements. See the NOTICE file distributed with
REM this work for additional information regarding copyright ownership.
REM The ASF licenses this file to You under the Apache License, Version 2.0
REM (the "License"); you may not use this file except in compliance with
REM the License. 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

set _CLASSPATHCOMPONENT=%1
if ""%1""=="""" goto gotAllArgs
Expand All @@ -12,4 +27,5 @@ shift
goto argCheck

:gotAllArgs
set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH%
set LOCALCLASSPATH=%LOCALCLASSPATH%;%_CLASSPATHCOMPONENT%

4 changes: 2 additions & 2 deletions stress/runClient.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ cd %APP_HOME%

SET LIB_DIR=lib\*.jar

@FOR %%V IN (%LIB_DIR%) DO call "lcp.bat" %%~fV
@FOR %%V IN (%LIB_DIR%) DO call "stress\lcp.bat" %%~fV

@FOR %%V IN (*.jar) DO call "lcp.bat" %%~fV
@FOR %%V IN (*.jar) DO call "stress\lcp.bat" %%~fV

SET CLASSPATH=%LOCALCLASSPATH%
echo %CLASSPATH%
Expand Down
4 changes: 2 additions & 2 deletions stress/runServer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ cd %APP_HOME%

SET LIB_DIR=lib\*.jar

@FOR %%V IN (%LIB_DIR%) DO call "lcp.bat" %%~fV
@FOR %%V IN (%LIB_DIR%) DO call "stress\lcp.bat" %%~fV

@FOR %%V IN (*.jar) DO call "lcp.bat" %%~fV
@FOR %%V IN (*.jar) DO call "stress\lcp.bat" %%~fV

SET CLASSPATH=%LOCALCLASSPATH%
echo %CLASSPATH%
Expand Down

0 comments on commit a4d92e0

Please sign in to comment.