ws-wsif-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Slominski <as...@cs.indiana.edu>
Subject backward incompatible change in org.apache.axis.wsdl.toJava.JavaWriter.writeComment? [ Re: Fw: ws-wsif on Gump
Date Tue, 12 Oct 2004 21:45:09 GMT
hi,

as it seems org.apache.axis.wsdl.toJava.JavaWriter was modified since 
1.1 so i wonder how stable toJava API (it seems old method is was in 
1.1RC2) ?

so now in CVS i can see:
    protected void writeComment(PrintWriter pw, Element element, boolean 
addTab)
which breaks compatibility with old:
    protected void writeComment(PrintWriter pw, Element element)

so maybe somebody could add to AXIS CVS:
    protected void writeComment(PrintWriter pw, Element element, boolean 
addTab) {
        writeComment(pw, element, true);
    }
to keep compatibility?

BTW: this and lack of setScopedProperty is only breaking change i 
noticed when porting WSIF to use AXIS 1.2RC1 form 1.1RC2.

thanks,

alek

Adam R. B. Jack wrote:

>Resend from a better account...
>  
>
>>Hi folks,
>>
>>Does this appear to represent an interface change within AXIS?
>>
>>
>>    
>>
>http://brutus.apache.org/gump/public/ws-wsif/ws-wsif/gump_work/build_ws-wsif_ws-wsif.html
>  
>
>>dynamic:
>>    [mkdir] Created dir:
>>/usr/local/gump/public/workspace/ws-wsif/java/build/classes
>>    [javac] Compiling 168 source files to
>>/usr/local/gump/public/workspace/ws-wsif/java/build/classes
>>    [javac] This version of java does not support the classic compiler;
>>upgrading to modern
>>    [javac]
>>
>>    
>>
>/usr/local/gump/public/workspace/ws-wsif/java/src/org/apache/wsif/tools/toja
>  
>
>>va/WSIFJavaTestCaseWriter.java:134:
>>writeComment(java.io.PrintWriter,org.w3c.dom.Element,boolean) in
>>org.apache.axis.wsdl.toJava.JavaWriter cannot be applied to
>>(java.io.PrintWriter,org.w3c.dom.Element)
>>    [javac]                 writeComment(pw, p.getDocumentationElement());
>>    [javac]                 ^
>>    [javac]
>>
>>    
>>
>/usr/local/gump/public/workspace/ws-wsif/java/src/org/apache/wsif/tools/toja
>  
>
>>va/WSIFJavaTestCaseWriter.java:145:
>>writeComment(java.io.PrintWriter,org.w3c.dom.Element,boolean) in
>>org.apache.axis.wsdl.toJava.JavaWriter cannot be applied to
>>(java.io.PrintWriter,org.w3c.dom.Element)
>>    [javac]                 writeComment(pw, p.getDocumentationElement());
>>    [javac]                 ^
>>    [javac] Note: Some input files use or override a deprecated API.
>>    [javac] Note: Recompile with -deprecation for details.
>>    [javac] 2 errors
>>
>>regards,
>>
>>Adam
>>
>>    
>>
>
>  
>


-- 
The best way to predict the future is to invent it - Alan Kay


Mime
View raw message