You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by Dushshantha Chandradasa <dc...@virtusa.com> on 2005/06/09 05:34:43 UTC

Test framework is failing

Hi All, 

 

Test framework is failing with the following error messages.

 

generateStubs:

    [mkdir] Created dir:
C:\obj\test\generated\${client.lang}\${testName}

     [java] java WSDL2Ws -<options> <wsdlfile>

     [java] -help, -h              print this message

     [java] -o<folder>             target output folder - default is
current fol

der

     [java] -l<c++|c>              target language (c++|c) - default is
c++

     [java] -s<server|client>      target side (server|client) - default
is serv

er

     [java] -w<wrapped|nonwrapped> wrapping style of the WSDL
(wrapped|nonwrappe

d) - default is wrapped

     [java] -verbose, -v           be verbose

     [java] -m<none|gnu>           generate make files (none|gnu) -
default is n

one

 

 

copyClientCode:

 

BUILD FAILED

C:\axiscpp\ws-axis\c\test.xml:46: The following error occurred while
executing t

his line:

C:\axiscpp\ws-axis\c\test.xml:131: The following error occurred while
executing

this line:

C:\axiscpp\ws-axis\c\build\buildTest.xml:67: The following error
occurred while

executing this line:

C:\axiscpp\ws-axis\c\build\buildTest.xml:49: Warning: Could not find
file C:\axi

scpp\ws-axis\c\tests\auto_build\testcases\client\${client.lang}\${testCo
de} to c

opy.

 

Regards,

 

Marcus Dushshantha Chandradasa

Team Virtusa

dchadradasa@virtusa.com

 


Re: Test framework is failing

Posted by John Hawkins <HA...@uk.ibm.com>.
HI Marcus,

I think you need to update your build a little. I changed some parameters 
in the build xml files yesterday and it looks like you only got half the 
fix.

in file build/buildTest.xml "generatestubs" target should read ->
<target name="generateStubs" if="test.wsdl" unless="test.dynamicCode" 
depends="setLanguage">
                <!-- Make directory in which all generated code shall be 
placed -->
                <mkdir dir=
"${dir.test.generated}/${test.clientLang}/${test.name}"/>

whereas i think yours is reading 
>               <mkdir dir=
"${dir.test.generated}/${client.lang}/${testName}"/>


and also in the target "copyClientCode" you've got the "old" way of naming 
the params ->

> C:\axiscpp\ws-axis\c\build\buildTest.xml:49: Warning: Could not find 
file C:\axi
> 
scpp\ws-axis\c\tests\auto_build\testcases\client\${client.lang}\${testCode} 
to c
> opy.






"Dushshantha Chandradasa" <dc...@virtusa.com> 
09/06/2005 04:34
Please respond to
"Apache AXIS C Developers List"


To
"Apache AXIS C Developers List" <ax...@ws.apache.org>
cc

Subject
Test framework is failing






Hi All, 
 
Test framework is failing with the following error messages.
 
generateStubs:
    [mkdir] Created dir: C:\obj\test\generated\${client.lang}\${testName}
     [java] java WSDL2Ws -<options> <wsdlfile>
     [java] -help, -h              print this message
     [java] -o<folder>             target output folder - default is 
current fol
der
     [java] -l<c++|c>              target language (c++|c) - default is 
c++
     [java] -s<server|client>      target side (server|client) - default 
is serv
er
     [java] -w<wrapped|nonwrapped> wrapping style of the WSDL 
(wrapped|nonwrappe
d) - default is wrapped
     [java] -verbose, -v           be verbose
     [java] -m<none|gnu>           generate make files (none|gnu) - 
default is n
one
 
 
copyClientCode:
 
BUILD FAILED
C:\axiscpp\ws-axis\c\test.xml:46: The following error occurred while 
executing t
his line:
C:\axiscpp\ws-axis\c\test.xml:131: The following error occurred while 
executing
this line:
C:\axiscpp\ws-axis\c\build\buildTest.xml:67: The following error occurred 
while
executing this line:
C:\axiscpp\ws-axis\c\build\buildTest.xml:49: Warning: Could not find file 
C:\axi
scpp\ws-axis\c\tests\auto_build\testcases\client\${client.lang}\${testCode} 
to c
opy.
 
Regards,
 
Marcus Dushshantha Chandradasa
Team Virtusa
dchadradasa@virtusa.com