You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (Created) (JIRA)" <ji...@apache.org> on 2012/04/11 19:21:19 UTC

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

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

        

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

Posted by "Ulhas Bhole (JIRA)" <ji...@apache.org>.
    [ 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

        

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

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ 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