You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2008/04/08 03:17:24 UTC

[jira] Created: (CXF-1509) Ant tasks don't support all the options of their corresponding commands

Ant tasks don't support all the options of their corresponding commands
-----------------------------------------------------------------------

                 Key: CXF-1509
                 URL: https://issues.apache.org/jira/browse/CXF-1509
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 2.1
            Reporter: Benson Margulies


There are several wsdl2java and java2ws options that would make sense in ant which are not included in the ant tasks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Commented: (CXF-1509) Ant tasks don't support all the options of their corresponding commands

Posted by Benson Margulies <bi...@gmail.com>.
Well, as you've noticed, I went and took the few simple steps needed to dust
off, deliver, and document the ant-tasks as we have them.

I think we should move this to the list to see if anyone else is posessed of
an opinion.

On Tue, Apr 8, 2008 at 12:17 AM, Glen Mazza (JIRA) <ji...@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/CXF-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586638#action_12586638]
>
> Glen Mazza commented on CXF-1509:
> ---------------------------------
>
> I don't think you need to worry about this, for the simple reason that I
> don't think we really need to have Ant tasks anyway.  The <java/> task
> guarantees a 100% mapping between the wsdl2java options and what you can do
> with Ant (See step #5, GenerateCXFWrapper, of here[1]).  In addition, it
> guarantees by definition identical option values between the command-line
> and the ant-version ([2]), and hence no additional documentation is
> necessary for us to maintain or for users to read.
>
> As for, "using Ant <java/> is more difficult than us providing our own Ant
> wrapper", true, but you don't have to worry about that either, because the
> IQ needed to work intelligently with web services is much, much higher than
> the IQ needed to understand the Ant <java/> task.  So you don't have to
> worry about people being able to do the former but not the latter, because
> such people don't exist.  (Such a concern would be tantamount to worrying
> that a calculus book is missing a multiplication table on the inside front
> cover.)
>
> Finally, the % of people using Ant is decreasing compared to Maven,
> Eclipse, and Command Line--I think Ant users can chug along quite happily
> with the <java/> task.  FWIW, personally speaking, I would prefer the
> <java/> task over our own anyway, because I know its options are identical
> to the command-line ones--i.e., I would have nothing extra to read.
>
> [1] http://www.jroller.com/gmazza/entry/using_the_ebay_shopping_api1
> [2] http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html#WSDLtoJava-usingant
>
>
> > Ant tasks don't support all the options of their corresponding commands
> > -----------------------------------------------------------------------
> >
> >                 Key: CXF-1509
> >                 URL: https://issues.apache.org/jira/browse/CXF-1509
> >             Project: CXF
> >          Issue Type: Bug
> >          Components: Tooling
> >    Affects Versions: 2.1
> >            Reporter: Benson Margulies
> >
> > There are several wsdl2java and java2ws options that would make sense in
> ant which are not included in the ant tasks.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>

[jira] Commented: (CXF-1509) Ant tasks don't support all the options of their corresponding commands

Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586638#action_12586638 ] 

Glen Mazza commented on CXF-1509:
---------------------------------

I don't think you need to worry about this, for the simple reason that I don't think we really need to have Ant tasks anyway.  The <java/> task guarantees a 100% mapping between the wsdl2java options and what you can do with Ant (See step #5, GenerateCXFWrapper, of here[1]).  In addition, it guarantees by definition identical option values between the command-line and the ant-version ([2]), and hence no additional documentation is necessary for us to maintain or for users to read.

As for, "using Ant <java/> is more difficult than us providing our own Ant wrapper", true, but you don't have to worry about that either, because the IQ needed to work intelligently with web services is much, much higher than the IQ needed to understand the Ant <java/> task.  So you don't have to worry about people being able to do the former but not the latter, because such people don't exist.  (Such a concern would be tantamount to worrying that a calculus book is missing a multiplication table on the inside front cover.)

Finally, the % of people using Ant is decreasing compared to Maven, Eclipse, and Command Line--I think Ant users can chug along quite happily with the <java/> task.  FWIW, personally speaking, I would prefer the <java/> task over our own anyway, because I know its options are identical to the command-line ones--i.e., I would have nothing extra to read.

[1] http://www.jroller.com/gmazza/entry/using_the_ebay_shopping_api1
[2] http://cwiki.apache.org/CXF20DOC/wsdl-to-java.html#WSDLtoJava-usingant


> Ant tasks don't support all the options of their corresponding commands
> -----------------------------------------------------------------------
>
>                 Key: CXF-1509
>                 URL: https://issues.apache.org/jira/browse/CXF-1509
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>
> There are several wsdl2java and java2ws options that would make sense in ant which are not included in the ant tasks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.