Jim Ma created CXF-8749:
---------------------------

             Summary: Existed generated handler file fails the compile 
generated java source files
                 Key: CXF-8749
                 URL: https://issues.apache.org/jira/browse/CXF-8749
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 3.5.3
            Reporter: Jim Ma
            Assignee: Jim Ma
             Fix For: 4.0.0, 3.5.4


Use wsdl2java to generate code for two wsdls , and passing the same "-d" and 
"-classdir" flags to put the source files and compiled classes to one 
directory. The first wsdl file generated handler files always fails compiler 
the source files by the second wsdl. 

This issue is introduced by:
{code:java}
commit f5f08c838e1d52f17bcc8422fac38831a63e6e30
Author: Alexey Markevich <[email protected]>
Date:   Mon Nov 16 10:44:36 2020 +0300
    cxf-tools-common: use Files.copy

{code}
[https://github.com/apache/cxf/commit/f5f08c838e1d52f17bcc8422fac38831a63e6e30]

 

Adding the option StandardCopyOption.REPLACE_EXISTING to Files.copy() will fix 
this issue and make it the same behavior with cxf-3.3.x. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to