[ 
https://issues.apache.org/jira/browse/CXF-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278300#comment-13278300
 ] 

Glen Mazza commented on CXF-4237:
---------------------------------

These are just command-line flags, not a Java API so I'm less concerned about 
backwards compatibility; also these settings are pretty rarely used anyway, so 
I would judge getting the switches correct to be more important than backwards 
compatibility.  But if it unfortunately needs to wait until CXF 2.7 then so be 
it.
                
> Remove true/false flags from purely binary WSDL2Java options
> ------------------------------------------------------------
>
>                 Key: CXF-4237
>                 URL: https://issues.apache.org/jira/browse/CXF-4237
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>            Reporter: Glen Mazza
>            Priority: Minor
>
> The binary -allowElementReferences, -exsh, -dns, and -dex WSDL-to-Java tool 
> settings each come with a redundant true/false argument which makes it 
> confusing to the user what the defaults are and hence whether or not the flag 
> even needs to be used when running the command.  Recommend removing the 
> true/false argument and having the flag, when entered, mean the 
> *nondefault/less common* value (i.e., for the default/most common value just 
> don't enter the flag to begin with.)  That would mean -dns and -dex would 
> have to be renamed to -nodns and -nodex as their default values are true.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to