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

daveel edited comment on CXF-1686 at 7/4/08 6:57 AM:
---------------------------------------------------------------

Just noticed a small bug in the patch


in WsdlOptionLoader.generateWsdlOption
the line

           wsdlOption.setExtraargs(defaultOptions.getExtraargs());

should read

            wsdlOption.getExtraargs().addAll(defaultOptions.getExtraargs());

Otherwise any binding files which are found via file name matches will be 
attached to all wsdls using the default options.

      was (Author: daveel):
    Just noticed a small bug in the patch


in WsdlOptionLoader.generateWsdlOption
the line

{code}
           wsdlOption.setExtraargs(defaultOptions.getExtraargs());
{code}

should read
{code}
            wsdlOption.getExtraargs().addAll(defaultOptions.getExtraargs());
{code}

Otherwise any binding files which are found via file name matches will be 
attached to all wsdls using the default options.
  
> maven-codegen-plugin: Add ability to specify a default set of options for all 
> wsdls in a project.
> -------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1686
>                 URL: https://issues.apache.org/jira/browse/CXF-1686
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>            Reporter: Dave Leatherdale
>         Attachments: CXF-1686.diff
>
>
> I have a project with a large number of wsdls which i want to process not 
> using the default options. Currently i can only specify these options for 
> each wsdl individually would be good if a set of global defaults could be 
> set. 

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

Reply via email to