You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by le...@apache.org on 2002/02/22 13:21:44 UTC
cvs commit: jakarta-avalon-excalibur cpappend.bat test.bat
leif 02/02/22 04:21:44
Added: . cpappend.bat test.bat
Log:
Add windows version of test.sh
Revision Changes Path
1.1 jakarta-avalon-excalibur/cpappend.bat
Index: cpappend.bat
===================================================================
set _LIBJARS=%_LIBJARS%;%1
1.1 jakarta-avalon-excalibur/test.bat
Index: test.bat
===================================================================
@echo off
if exist "tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=tools
if exist "..\jakarta-avalon\tools\bin\ant.bat" set LOCAL_AVALON_TOOLS=..\jakarta-avalon\tools
if not "%AVALON_TOOLS%"=="" set LOCAL_AVALON_TOOLS=%AVALON_TOOLS%
if not "%LOCAL_AVALON_TOOLS%"=="" goto buildcp
echo "Unable to locate tools directory at "
echo "../jakarta-avalon/tools/ or tools/. "
echo "Aborting."
goto end
:buildcp
set _CP=./build/scratchpad;./build/classes;./build/testclasses;%CLASSPATH%
set _LIBJARS=
for %%i in (%LOCAL_AVALON_TOOLS%\ext\*.jar) do call cpappend.bat %%i
for %%i in (%LOCAL_AVALON_TOOLS%\lib\*.jar) do call cpappend.bat %%i
for %%i in (lib\*.jar) do call cpappend.bat %%i
if not "%_LIBJARS%" == "" goto run
echo Unable to set CLASSPATH dynamically.
goto end
:run
set _CP=%_CP%%_LIBJARS%
java -classpath "%_CP%" %1 %2 %3 %4 %5 %6 %7 %8 %9
:end
set LOCAL_AVALON_TOOLS=
set _LIBJARS=
set _CP=
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>