You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by pn...@apache.org on 2004/09/16 21:39:33 UTC

cvs commit: jakarta-slide/proposals/wvcm/bin cmdclient.bat lcp.bat run.bat

pnever      2004/09/16 12:39:33

  Added:       proposals/wvcm/bin cmdclient.bat lcp.bat run.bat
  Log:
  Windows shell scripts for "BasicCmdClient" and testsuite invocation
  
  Revision  Changes    Path
  1.1                  jakarta-slide/proposals/wvcm/bin/cmdclient.bat
  
  Index: cmdclient.bat
  ===================================================================
  @echo off
  call run.bat org.apache.wvcm.sample.BasicCmdClient
  
  
  1.1                  jakarta-slide/proposals/wvcm/bin/lcp.bat
  
  Index: lcp.bat
  ===================================================================
  REM   Copyright (c) 2001-2003 The Apache Software Foundation.  All rights
  REM   reserved.
  
  set _CLASSPATHCOMPONENT=%1
  if ""%1""=="""" goto gotAllArgs
  shift
  
  :argCheck
  if ""%1""=="""" goto gotAllArgs
  set _CLASSPATHCOMPONENT=%_CLASSPATHCOMPONENT% %1
  shift
  goto argCheck
  
  :gotAllArgs
  set LOCALCLASSPATH=%_CLASSPATHCOMPONENT%;%LOCALCLASSPATH%
  
  
  
  1.1                  jakarta-slide/proposals/wvcm/bin/run.bat
  
  Index: run.bat
  ===================================================================
  @echo off
  setlocal
  
  set _WVCM_HOME=%WVCM_HOME%
  if "%_WVCM_HOME%" == "" set _WVCM_HOME=..
  
  rem add all jars from lib to classpath
  set LOCALCLASSPATH=%_WVCM_HOME%\build\classes
  for %%i in ("%_WVCM_HOME%\lib\*.jar") do call "%_WVCM_HOME%\bin\lcp.bat" %%i
  
  set MAINCLASS=junit.swingui.TestRunner
  if not "%1" == "" set MAINCLASS=%1 && shift
  
  java -classpath "%LOCALCLASSPATH%" %MAINCLASS% %1 %2 %3 %4 %5 %6 %7 %8 %9
  
  endlocal
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org