Hi,

I found the solution myself: WebTest tries to write this "running.txt" file 
into the current working dir; this is hard-coded. This dir wasn't open for 
writing.

What is the purpose of "running.txt" ?

Cheers,
Michael


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Michael Zwick
Sent: Mittwoch, 29. September 2010 10:49
To: [email protected]
Subject: [Webtest] Build fails with "java.lang.RuntimeException: Failed to 
create running.txt file" after update to r1809

Dear all,

I just updated WebTest to revision 1809 (to see if this resolves my issue with 
%20 in javascript...). Now I'm facing this problem:


BUILD FAILED
/n/gdp/sw/webtest-3.0-1809/webtest.xml:242: The following error occurred while 
executing this line:
/n/gdp/build/webtest/tests/allTests.xml:26: The following error occurred while 
executing this line:
/n/gdp/build/webtest/tests/Verify_Basics.xml:14: java.lang.RuntimeException: 
Failed to create running.txt file


Any ideas what causes and/or solves the issue?

Line 242 in webtest.xml is:
<ant dir="${~wt.testInWork.dir}" antfile="${~wt.testInWork.file}" 
inheritRefs="true"/>
from:

==========
        <target name="wt.testInWork"
                        description="Runs the test file specified in property 
wt.testInWork. Overwrite to run an other way">

                <dirname property="~wt.testInWork.dir" file="${wt.testInWork}"/>
                <!-- give the possibility to specify the testInWork with and 
without the .xml extension -->
                <available file="${wt.testInWork}" 
property="~wt.testInWork.suffix" value=""/>
                <property name="~wt.testInWork.suffix" value=".xml"/>
                <basename property="~wt.testInWork.file" 
file="${wt.testInWork}${~wt.testInWork.suffix}"/>

                <echo message="Execution ${~wt.testInWork.file} in dir 
${~wt.testInWork.dir}"/>
                <ant dir="${~wt.testInWork.dir}" 
antfile="${~wt.testInWork.file}" inheritRefs="true"/>
        </target>
==============

I don't see what should have changed here.

Thanks a lot, best regards
Michael
Y��z�fj)b�      b�՞m7��X������hm����+-�Ƨ��(����Y���b�ا~��y�^�

Reply via email to