You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Ulhas Bhole (JIRA)" <ji...@apache.org> on 2012/05/17 16:52:20 UTC

[jira] [Commented] (CXF-4237) Remove true/false flags from purely binary WSDL2Java options

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

Ulhas Bhole commented on CXF-4237:
----------------------------------

Hi Glen,

It's a good idea but will it not cause more confusion with older version and newer version having different syntax for same thing. It think we should do this when adding new flags but not sure how we can handle it with existing one's. I think might do this change on trunk for next major version. 

Regards,

Ulhas Bhole
                
> 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