You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Tom Jordahl <to...@macromedia.com> on 2005/05/31 21:54:51 UTC

all-tests broken: test/wsdl/simpletypes does not compile

I can get the simpletypes test to compile.  Anyone want to claim credit?

--
Tom


compile:
     [echo] Compiling test.wsdl.simpletypes
[wsdl2java] WSDL2Java
C:\dev\ws-axis\java/test/wsdl/simpletypes/SimpleTypes.w

[wsdl2java] WSDL2Java
C:\dev\ws-axis\java/test/wsdl/simpletypes/SimpleTypes.w

     [copy] Copying 1 file to
C:\dev\ws-axis\java\build\work\test\wsdl\simple
es
    [javac] Compiling 5 source files to
C:\dev\ws-axis\java\build\classes
    [javac]
C:\dev\ws-axis\java\build\work\test\wsdl\simpletypes\SimpleTypesT
Case.java:35: inconvertible types
    [javac] found   : test.wsdl.simpletypes.DerivedSimpleType
    [javac] required: test.wsdl.simpletypes.BaseSimpleType
    [javac]         assertTrue(derived instanceof BaseSimpleType);
    [javac]                    ^
    [javac]
C:\dev\ws-axis\java\build\work\test\wsdl\simpletypes\SimpleTypesT
Case.java:39: cannot resolve symbol
    [javac] symbol  : method getBaseAttr1 ()
    [javac] location: class test.wsdl.simpletypes.DerivedSimpleType
    [javac]         derived.getBaseAttr1();
    [javac]                ^
    [javac]
C:\dev\ws-axis\java\build\work\test\wsdl\simpletypes\SimpleTypesT
Case.java:40: cannot resolve symbol
    [javac] symbol  : method getBaseAttr2 ()
    [javac] location: class test.wsdl.simpletypes.DerivedSimpleType
    [javac]         derived.getBaseAttr2();
    [javac]                ^
    [javac] 3 errors

BUILD FAILED
C:\dev\ws-axis\java\test\wsdl\simpletypes\build.xml:84: Compile failed;
see t
compiler error output for details.



Re: all-tests broken: test/wsdl/simpletypes does not compile

Posted by Steve Green <st...@epok.net>.
On Tue, 2005-05-31 at 15:54 -0400, Tom Jordahl wrote:
> I can get the simpletypes test to compile.  Anyone want to claim
> credit?

That came from AXIS-1797.  I thinking you didn't apply the patch or you
backed out the patch and left the test case behind.

~S


Re: all-tests broken: test/wsdl/simpletypes does not compile

Posted by Davanum Srinivas <da...@gmail.com>.
Tom,

simpleTypes is *ONLY* in your sandbox...Not in CVS
(http://cvs.apache.org/viewcvs/ws-axis/java/test/wsdl/)

-- dims

On 5/31/05, Tom Jordahl <to...@macromedia.com> wrote:
>  
> 
> I can get the simpletypes test to compile.  Anyone want to claim credit? 
> 
> -- 
> 
> Tom 
>  
> 
> compile: 
> 
>      [echo] Compiling test.wsdl.simpletypes 
> 
> [wsdl2java] WSDL2Java
> C:\dev\ws-axis\java/test/wsdl/simpletypes/SimpleTypes.w 
> 
> [wsdl2java] WSDL2Java
> C:\dev\ws-axis\java/test/wsdl/simpletypes/SimpleTypes.w 
> 
>      [copy] Copying 1 file to
> C:\dev\ws-axis\java\build\work\test\wsdl\simple 
> 
> es 
> 
>     [javac] Compiling 5 source files to
> C:\dev\ws-axis\java\build\classes 
> 
>     [javac]
> C:\dev\ws-axis\java\build\work\test\wsdl\simpletypes\SimpleTypesT
> 
> Case.java:35: inconvertible types 
> 
>     [javac] found   :
> test.wsdl.simpletypes.DerivedSimpleType 
> 
>     [javac] required: test.wsdl.simpletypes.BaseSimpleType 
> 
>     [javac]         assertTrue(derived instanceof BaseSimpleType); 
> 
>     [javac]                    ^ 
> 
>     [javac]
> C:\dev\ws-axis\java\build\work\test\wsdl\simpletypes\SimpleTypesT
> 
> Case.java:39: cannot resolve symbol 
> 
>     [javac] symbol  : method getBaseAttr1 () 
> 
>     [javac] location: class
> test.wsdl.simpletypes.DerivedSimpleType 
> 
>     [javac]         derived.getBaseAttr1(); 
> 
>     [javac]                ^ 
> 
>     [javac]
> C:\dev\ws-axis\java\build\work\test\wsdl\simpletypes\SimpleTypesT
> 
> Case.java:40: cannot resolve symbol 
> 
>     [javac] symbol  : method getBaseAttr2 () 
> 
>     [javac] location: class
> test.wsdl.simpletypes.DerivedSimpleType 
> 
>     [javac]         derived.getBaseAttr2(); 
> 
>     [javac]                ^ 
> 
>     [javac] 3 errors 
> 
> BUILD FAILED 
> 
> C:\dev\ws-axis\java\test\wsdl\simpletypes\build.xml:84:
> Compile failed; see t 
> 
> compiler error output for details. 
>  


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/