User: jung
Date: 01/02/19 04:54:14
Added: dist/bin test.bat test.sh
Log:
moved some unprocessed files immediately to dist. Goal is to
put the dist *AS IS* online under jboss.org
Revision Changes Path
1.1 zoap/dist/bin/test.bat
Index: test.bat
===================================================================
@echo off
REM
=========================================================================================================
REM $Source: /products/cvs/ejboss/zoap/dist/bin/test.bat,v $
REM Copyright 2000 by infor: business solutions AG
REM Hauerstra�e 12, D-66299 Friedrichsthal, Germany
REM All rights reserved.
REM
REM This software is the confidential and proprietary information
REM of infor: business solutions AG ("Confidential Information"). You
REM shall not disclose such Confidential Information and shall use
REM it only in accordance with the terms of the license agreement
REM you entered into with infor AG.
REM
=========================================================================================================
-->
@setlocal
:output
echo %0 (c) 2000 infor:business solutions AG. All rights reserved.
echo %0 comes with ABSOLUTELY NO WARRANTY.
echo This is free software, and you are welcome
echo to redistribute it under certain conditions.
:initialise
rem <put your local variable initialisation here/>
:parse
for %%a in (%1 %2 %3 %4 %5 %6 %7 %8 %9) do (
if not "%%a"=="" (
rem <An example treatment for an option: />
rem if /i "%%a"=="-exampleOption" (
rem
rem set any variable you like
rem
rem ) else (
echo Unkown option: %%a
echo.
goto usage
rem )
)
)
:branch
rem <put in any goto depending on your variables/>
:start
echo For running this test successfully, have a deployed and running test.jar in
your SOAP-enabled jBoss server!
pause
rem run the unit test
java -classpath
%CLASSPATH%;..\conf;..\lib\ext\zoap.jar;..\lib\ext\inforUtil.jar;..\lib\ext\jaxp.jar;..\lib\ext\parser.jar;..\lib\ext\junit.jar;..\lib\ext\ejb.jar;..\client\test-client.jar
test.Test
goto end
:usage
echo synopsis: %0
echo.
echo echo options:
echo.
rem echo -example an example option
rem echo that allows I dunno
echo.
:end
pause
@endlocal
1.1 zoap/dist/bin/test.sh
Index: test.sh
===================================================================
#!/bin/sh
if ! echo -n `pwd` | grep /bin$ >/dev/null; then
echo "You must execute this script from within it's dir"
exit 1
fi
echo "To run this test successfully, you must have test-bean.jar
deployed and"
echo "running in your SOAP-enabled jBoss server!"
## Override the user's classpath
CLASSPATH="../conf"
CLASSPATH="${CLASSPATH}:../lib/ext/zoap.jar"
CLASSPATH="${CLASSPATH}:../lib/ext/inforUtil.jar"
CLASSPATH="${CLASSPATH}:../lib/ext/jaxp.jar"
CLASSPATH="${CLASSPATH}:../lib/ext/parser.jar"
CLASSPATH="${CLASSPATH}:../lib/ext/junit.jar"
CLASSPATH="${CLASSPATH}:../lib/ext/ejb.jar"
CLASSPATH="${CLASSPATH}:../client/test-client.jar"
java -classpath $CLASSPATH test.Test