Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9441C67C for ; Thu, 17 May 2012 14:52:41 +0000 (UTC) Received: (qmail 95108 invoked by uid 500); 17 May 2012 14:52:41 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 95054 invoked by uid 500); 17 May 2012 14:52:41 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 95045 invoked by uid 99); 17 May 2012 14:52:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 14:52:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 May 2012 14:52:40 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A5E2AA905 for ; Thu, 17 May 2012 14:52:20 +0000 (UTC) Date: Thu, 17 May 2012 14:52:20 +0000 (UTC) From: "Ulhas Bhole (JIRA)" To: issues@cxf.apache.org Message-ID: <443557382.8826.1337266340680.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1130318362.13335.1334164879220.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CXF-4237) Remove true/false flags from purely binary WSDL2Java options MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on 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