You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "warren crossing (JIRA)" <ji...@apache.org> on 2009/09/24 12:57:15 UTC
[jira] Created: (CXF-2445) can't pass mulitple -xjc wsdlOption in
cxf-codegen-plugin
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.
[jira] Assigned: (CXF-2445) can't pass mulitple -xjc wsdlOption in
cxf-codegen-plugin
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned CXF-2445:
--------------------------------
Assignee: Daniel Kulp
> 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
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: Invalid
>
> Attachments: xjcargs.diff
>
>
> 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.
[jira] Resolved: (CXF-2445) can't pass mulitple -xjc wsdlOption in
cxf-codegen-plugin
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2445.
------------------------------
Resolution: Invalid
Fix Version/s: Invalid
The docs (http://cxf.apache.org/docs/wsdl-to-java.html) say "Specifies a comma separated list of arguments that are passed directly to the XJC processor when using the JAXB databinding. A list of available XJC plugins can be obtained using -xjc-X."
Anyway, since it works, I'll resolve this.
> 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
> Fix For: Invalid
>
>
> 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.
[jira] Reopened: (CXF-2445) can't pass mulitple -xjc wsdlOption in
cxf-codegen-plugin
Posted by "warren crossing (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
warren crossing reopened CXF-2445:
----------------------------------
Existing handling of this is lame. please have look at this patch.
> 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
> Fix For: Invalid
>
> Attachments: xjcargs.diff
>
>
> 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.
[jira] Resolved: (CXF-2445) can't pass mulitple -xjc wsdlOption in
cxf-codegen-plugin
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-2445.
------------------------------
Resolution: Fixed
Fix Version/s: (was: Invalid)
2.2.5
I update the command line tool to actually allow:
-xjc-Xts -xjc-Xblah .....
and changed your patch to use that.
> 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
> Assignee: Daniel Kulp
> Priority: Minor
> Fix For: 2.2.5
>
> Attachments: xjcargs.diff
>
>
> 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.
[jira] Commented: (CXF-2445) can't pass mulitple -xjc wsdlOption in
cxf-codegen-plugin
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12759350#action_12759350 ]
Daniel Kulp commented on CXF-2445:
----------------------------------
This SHOULD be via a comma separated list to -xjc param. As in:
-xjc-mark-generated,-Xxew
Can you verify if that works?
> 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.
[jira] Commented: (CXF-2445) can't pass mulitple -xjc wsdlOption in
cxf-codegen-plugin
Posted by "warren crossing (JIRA)" <ji...@apache.org>.
[ 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.