[Webtest] [webtest][JIRA] Created: (WT-42) Unable to successfully run 'installTest.xml' - my 'first WebTest'.

Denis N. Antonioli webtest@lists.canoo.com
Tue, 19 Apr 2005 22:50:46 +0200


On 19 avr. 05, at 22:44, Denis N. Antonioli wrote:

> With your installation in c:\Program Files\Webtest, put the attached  
> webtest.bat in c:\Program Files\Webtest\bin\
> and try again. It should now handle correctly path containing blanks.
>
> Best
> 	dna
>
>
> [Attachment denied by WatchGuard SMTP proxy (type  
> "application/octet-stream", filename "webtest.bat")]
>

No attachment? Well, cut everything after the 'Cut here' line and save  
it as 'webtest.bat'

Best
	dna

--  
Committees never have vision. They have meetings
   -- John C. Welch


--------Cut here------
@echo off

REM Simple start-up script for webtest.

@setlocal

:: don't make any assumption concerning current dir
:: %~dp0 is expanded pathname of the current script under NT
set WEBTEST_HOME=%~dp0%..

set JAVA_OPTS=-Xms64M -Xmx256M

set RT_LIB=%WEBTEST_HOME%\lib\runtime
set BUILD_LIB=%WEBTEST_HOME%\lib\build

set ANT_LIB=%RT_LIB%\ant.jar;%RT_LIB%\optional.jar
set  
XSLT_LIB=%RT_LIB%\xercesImpl-2.6.2.jar;%RT_LIB%\xmlParserAPIs 
-2.2.1.jar;%RT_LIB%\xalan.jar
set JUNIT_LIB=%RT_LIB%\junit.jar
rem clover is only required to build webtest
set CLOVER_LIB=%BUILD_LIB%;%BUILD_LIB%\clover.jar
set CLASSPATH=%ANT_LIB%;%XSLT_LIB%;%JUNIT_LIB%;%CLOVER_LIB%

set ANT_LOGGER='-logger org.apache.tools.ant.XmlLogger -logfile  
cruise.console.log.xml'

set JAVA_CMD="%JAVA_HOME%\bin\java.exe"
rem echo Will use %JAVA_CMD%

set EXEC=%JAVA_CMD% %JAVA_OPTS% -cp "%CLASSPATH%"  
org.apache.tools.ant.Main %*
echo %EXEC%

%EXEC%
@endlocal