Jochen,

That worked great.  Thanks for the help :)

Zoth, Jochen wrote:
This seems to be the same problem I reported two months ago.

The classpath is set with "-cp xyz" by webtest.bat, right?
So this is what I'm using:

---
set EXEC=%JAVA_CMD% %JAVA_OPTS% -cp "%RT_LIB%\ant-launcher.jar" 
-Dant.library.dir="%RT_LIB%" org.apache.tools.ant.launch.Launcher -nouserlib -lib 
"%CLOVER_LIB%" %*
---

Few days ago, because of other problems, I added some "bootstrap code" 
suggested somewhere on the list.

Now webtest accepts setting the logging levels in lib\log4j.properties and 
shows normal step logging behaviour!

The lines I added are:

---
<project name="test" basedir="." default="bootstrap">

<import file="../../../programme/webtest/lib/taskdef.xml"/>

    <target name="bootstrap">
       <java classname="org.apache.tools.ant.Main" fork="true"
           classpathref="webtest.path.id" >
           <sysproperty key="webtest.home" value="${webtest.home}"/>
           <arg line="-f ${ant.file} test"/>
       </java>
    </target>
---

Maybe this helps to find the reason. :-)

Jochen.


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Christian Smith 
- Sun Microsystems - Dublin Ireland
Gesendet: Montag, 21. August 2006 13:04
An: [EMAIL PROTECTED]
Betreff: Re: [Webtest] New version of webtest doesnt ouput PASS/FAIL of each 
step to console

Hi Paul,

Thanks for the reply. I have checked all the jar files from the 2.0 build and none of them contain a log4j.properties file. The only copy of this file is in the ./lib directory for the old build (2.0) and the new 1376 one. I have tried changing the log level to debug and info with no luck. I have searched everywhere but still cannot locate where this might be overridden. Any other thoughts on where i could look would be appreciated. Heres a sample output from the old 2.0 build (this is what i need):

Will use /bin/java
Buildfile: Test.xml
Trying to override old definition of task sleep
 ....
[setRadioButton] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: setRadioButton "RadioButton2" (3/5) [setCheckbox] INFO (com.canoo.webtest.steps.Step) - >>>> Start Step: setCheckbox "CheckBox" (4/5)
 ....
BUILD SUCCESSFUL
Total time: 2 seconds


This is the output from the new build (1376):

Buildfile: Test.xml
Trying to override old definition of task sleep

main:

BUILD SUCCESSFUL
Total time: 2 seconds

As you can see there is information posted.  Thanks in advance.
-Christian
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to