typekpb commented on issue #324: RFC introduced: Supress generated date switch 
for wsdl2java
URL: https://github.com/apache/cxf/pull/324#issuecomment-349149950
 
 
   @deki thanks for feedback! I went all the way down to xjc and found:
   * `@Generated` annotation being present for `-mark-generated` only case: 
https://github.com/javaee/jaxb-v2/blob/f1ef0676987b83b134b8c97fe99083423f7f3311/jaxb-ri/xjc/src/main/java/com/sun/tools/xjc/addon/at_generated/PluginImpl.java#L71
   * as well as propagation code: 
https://github.com/apache/cxf/blob/13bcc2362509c6d893ed21fff9461d576fda1ccc/tools/wsdlto/databinding/jaxb/src/main/java/org/apache/cxf/tools/wsdlto/databinding/jaxb/JAXBDataBinding.java#L430
   
    I addressed the issues:
   * supress -> suppress
   * moreover `@Generated` annotation is no longer affected by 
`-suppress-generated-date` cmd line option, as there is another switch: 
`mark-generated`, which also gets propagated all the way to xjc as well 
(otherwise xjc code would need updating as well)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to