I changed the property file system so that it no longers copies the <testname>.xml properties it just uses their raw format.

I see that in in the line
>      [java] java.io.FileNotFoundException: F:\axiscpp\ws-
> axis\c\tests\auto_build\testcases\wsdls\${testWsdl} (The system cannot find

> the file specified)


you are still using the old ${testWSDL} property. This has been changed so it should read ${test.wsdl} I'm confused as to why no one else is picking up the changes I made. you obviously have the newer version of testInitialize.xml where I made the initial changes but for some reason you don't have the newer version of some of the other files e.g. buildTest.xml where I think it is failing.

I've just checked buildTest.xml in again - can you check it out and try agian pls?

sorry for the major screw up !



"Samisa Abeysinghe" <[EMAIL PROTECTED]> wrote on 09/06/2005 10:31:10:

> I got a fresh checkout from CVS and ran the tests. I get the
> following errors. All my build xml files are the same as the cvs,
> except the build property file. Looks to me as if there are some
> settings missing. I see that some part of testInitialize.xml  is
> commented. Uncommenting that did not work either.

>  
>      [java] - Unable to find required classes (javax.activation.
> DataHandler and javax.mail.internet.MimeMultipart). Attachment suppor

> t is disabled.
>      [java] java.io.FileNotFoundException: F:\axiscpp\ws-
> axis\c\tests\auto_build\testcases\wsdls\${testWsdl} (The system cannot find

> the file specified)
>      [java]     at java.io.FileInputStream.open(Native Method)
>      [java]     at java.io.FileInputStream.<init>(FileInputStream.java:103)
>      [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
>      [java]     at sun.net.www.protocol.file.FileURLConnection.
> connect(FileURLConnection.java:69)

>      [java]     at sun.net.www.protocol.file.FileURLConnection.
> getInputStream(FileURLConnection.java:156)

>      [java]     at java.net.URL.openStream(URL.java:960)
>      [java]     at org.apache.crimson.parser.InputEntity.
> init(InputEntity.java:209)

>      [java]     at org.apache.crimson.parser.Parser2.
> parseInternal(Parser2.java:471)

>      [java]     at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>      [java]     at org.apache.crimson.parser.XMLReaderImpl.
> parse(XMLReaderImpl.java:442)

>      [java]     at org.apache.crimson.jaxp.DocumentBuilderImpl.
> parse(DocumentBuilderImpl.java:185)

>      [java]     at org.apache.axis.utils.XMLUtils.
> newDocument(XMLUtils.java:295)

>      [java]     at org.apache.axis.utils.XMLUtils.
> newDocument(XMLUtils.java:340)

>      [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.
> populate(SymbolTable.java:470)

>      [java]     at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.
> run(Parser.java:356)

>      [java]     at java.lang.Thread.run(Thread.java:536)
>      [java] org.apache.axis.wsdl.wsdl2ws.WrapperFault: java.io.
> FileNotFoundException: F:\axiscpp\ws-axis\c\tests\auto_build\testcases

> \wsdls\${testWsdl} (The system cannot find the file specified)
>      [java]     at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.<init>(Unknown Source)
>      [java]     at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
>      [java] Caused by: java.io.FileNotFoundException: F:\axiscpp\ws-
> axis\c\tests\auto_build\testcases\wsdls\${testWsdl} (The system c

> annot find the file specified)
>      [java]     at java.io.FileInputStream.open(Native Method)
>      [java]     at java.io.FileInputStream.<init>(FileInputStream.java:103)
>      [java]     at java.io.FileInputStream.<init>(FileInputStream.java:66)
>      [java]     at sun.net.www.protocol.file.FileURLConnection.
> connect(FileURLConnection.java:69)

>      [java]     at sun.net.www.protocol.file.FileURLConnection.
> getInputStream(FileURLConnection.java:156)

>      [java]     at java.net.URL.openStream(URL.java:960)
>      [java]     at org.apache.crimson.parser.InputEntity.
> init(InputEntity.java:209)

>      [java]     at org.apache.crimson.parser.Parser2.
> parseInternal(Parser2.java:471)

>      [java]     at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
>      [java]     at org.apache.crimson.parser.XMLReaderImpl.
> parse(XMLReaderImpl.java:442)

>  
>      [java] Code generation failed. Please see errors above.
>  
>      [java]     at org.apache.crimson.jaxp.DocumentBuilderImpl.
> parse(DocumentBuilderImpl.java:185)

>      [java]     at org.apache.axis.utils.XMLUtils.
> newDocument(XMLUtils.java:295)

>      [java]     at org.apache.axis.utils.XMLUtils.
> newDocument(XMLUtils.java:340)

>      [java]     at org.apache.axis.wsdl.symbolTable.SymbolTable.
> populate(SymbolTable.java:470)

>      [java]     at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.
> run(Parser.java:356)

>      [java]     at java.lang.Thread.run(Thread.java:536)
>  
> copyClientCode:
>  
> BUILD FAILED
> F:\axiscpp\ws-axis\c\test.xml:46: The following error occurred while
> executing this line:

> F:\axiscpp\ws-axis\c\test.xml:131: The following error occurred
> while executing this line:

> F:\axiscpp\ws-axis\c\build\buildTest.xml:69: The following error
> occurred while executing this line:

> F:\axiscpp\ws-axis\c\build\buildTest.xml:51: Warning: Could not find
> file F:\axiscpp\ws-axis\c\tests\auto_build\testcases\client\${cl

> ient.lang}\${testCode} to copy.
>  
> Total time: 9 seconds
> F:\axiscpp\ws-axis\c>
>  
> -----Original Message-----
> From: John Hawkins [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 09, 2005 2:00 PM
> To: Apache AXIS C Developers List
> Subject: Re: Test framework is failing

>  
>
> 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" <[EMAIL PROTECTED]>

> 09/06/2005 04:34
>
> Please respond to
> "Apache AXIS C Developers List"

>
> To

>
> "Apache AXIS C Developers List" <[email protected]>

>
> 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
> [EMAIL PROTECTED]
>  

Reply via email to