axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Seibert <mseib...@us.ibm.com>
Subject Re: cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava JavaBindingWriter.java
Date Fri, 09 Aug 2002 19:33:54 GMT

Groovy.  THanks!

Matt Seibert                                           mseibert@us.ibm.com
IBM        External:    (512) 838-3656      Internal:   678-3656


                                                                                         
                                   
                      butek@apache.org                                                   
                                   
                                               To:       xml-axis-cvs@apache.org         
                                   
                      08/09/2002 14:33         cc:                                       
                                   
                      Please respond to        Subject:  cvs commit: xml-axis/java/src/org/apache/axis/wsdl/toJava
          
                      axis-dev                  JavaBindingWriter.java                   
                                   
                                                                                         
                                   
                                                                                         
                                   
                                                                                         
                                   



butek       2002/08/09 12:33:09

  Modified:    java/src/org/apache/axis/wsdl/toJava JavaBindingWriter.java
  Log:
  WSDL2Java doesn't overwrite XXXImpl.java files.  I added a message
  informing the user if that's the case:

  "XXXImpl.java already exists, WSDL2Java will not overwrite it."

  Revision  Changes    Path
  1.14      +5 -1      xml-
axis/java/src/org/apache/axis/wsdl/toJava/JavaBindingWriter.java

  Index: JavaBindingWriter.java
  ===================================================================
  RCS file: /home/cvs/xml-
axis/java/src/org/apache/axis/wsdl/toJava/JavaBindingWriter.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- JavaBindingWriter.java         8 Aug 2002 15:17:11 -0000
1.13
  +++ JavaBindingWriter.java         9 Aug 2002 19:33:09 -0000
1.14
  @@ -180,9 +180,13 @@
                   String fileName = Utils.getJavaLocalName(bEntry.
getName())
                           + "Impl.java";
                   try {
  -                    if (!Utils.fileExists(fileName,
  +                    if (Utils.fileExists(fileName,
                               binding.getQName().getNamespaceURI(),
                               emitter.getNamespaces())) {
  +                        System.out.println(JavaUtils.getMessage(
  +                                "wontOverwrite", fileName));
  +                    }
  +                    else {
                           implWriter = getJavaImplWriter(
                                   emitter, bEntry, symbolTable);
                       }







Mime
View raw message