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

warren crossing commented on CXF-2445:
--------------------------------------

Yes I tested this and confirm that it works.  However its highly non intuitive, 
as even before grokking the plugin code I was trying hacks like 
-xjc"-mark-generated -Xxew".  

Maybe this needs to be clarify in the source/docs. 

Now I can test episode files and you can close this issue off. 

thx

> can't pass mulitple -xjc wsdlOption in cxf-codegen-plugin
> ---------------------------------------------------------
>
>                 Key: CXF-2445
>                 URL: https://issues.apache.org/jira/browse/CXF-2445
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.3
>            Reporter: warren crossing
>            Priority: Minor
>
> you have to specify multiple options to avoid getting a duplicate option 
> error message
> <wsdlOptions>
>  <wsdlOption>
> <wsdl>${basedir}/src/main/resources/ShipmentService.wsdl</wsdl>
> <bindingFiles>
> <bindingFile>${basedir}/src/main/resources/bindings-global.xml</bindingFile>
> </bindingFiles>
> <extraargs>
> <arg>-xjc-Xxew</arg>
> </extraargs>
> </wsdlOption>
> <wsdlOption>
> <extraargs>
> <arg>-xjc-mark-generated</arg>
> </extraargs>
> </wsdlOption>
> </wsdlOptions>

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