cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-268) support <extension> and <extensionArgs> for the cxf-codegen-plugin so that XJC plugins can be used with the wsdl2java tool
Date Mon, 09 Jul 2007 11:46:06 GMT

     [ https://issues.apache.org/jira/browse/CXF-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Tully updated CXF-268:
---------------------------

    Attachment: xjc-opts-gtully.patch

This patch implements a -xjc argument for wsdl2java. -xjc is followed immediatly by a comma
seperated list of arguments that are passed directly to XJC when the JAXB databinding is in
use. 
For example, to enable the jaxb-commons-lang plugin using the common_build macro, note the
additional last line of the following:

            <java failonerror="true" classname="org.apache.cxf.tools.wsdlto.WSDLToJava"
fork="yes">
                <classpath>
                    <path refid="cxf.classpath" />

                </classpath>
                <sysproperty key="java.util.logging.config.file" value="${cxf.etc.dir}/logging.properties"/>
                <sysproperty key="exitOnFinish" value="true"/>
                <arg line="@{servicename.arg}"/>
                <arg line="${package.arg.@{file}}"/>
                <arg line="${binding.arg}"/>
                <arg line="-xjc-Xcommons-lang"/> 


For the maven wsdltojava plugin:

     <extraargs>
           <extraarg>-xjc-Xcommons-lang<extraarg> 
     <extraargs> 

> support <extension> and <extensionArgs> for the cxf-codegen-plugin so that
XJC plugins can be used with the wsdl2java tool
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-268
>                 URL: https://issues.apache.org/jira/browse/CXF-268
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.0-RC
>            Reporter: james strachan
>            Assignee: Daniel Kulp
>             Fix For: 2.1
>
>


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


Mime
View raw message