I found out what my issue was, the params was incorrect - it should have
been:
<arg value="-xjc${output.dir}/xjc/ws-jaxb-beans.jar"/>
However this is still not exactly working the way that I want it am getting
errors:
[java] WSDLToJava Error: Thrown by JAXB : SCD "~tns:MessageTimestamp"
didnt match any schema component
[java] org.apache.cxf.tools.common.ToolException: Thrown by JAXB : SCD
"~tns:MessageTimestamp" didnt match any schema component
is there a way to just supply the episode file to wsdl2java like you can for
wsimport?
https://jax-ws.dev.java.net/guide/Compiling_multiple_WSDLs_that_share_the_common_schema.html
Thanks,
Adrian
On Tue, Dec 9, 2008 at 8:00 PM, Adrian C <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to use wsdl2java and trying to pass in a reference to a jaxb
> epsisode file so that the source is not regenerated (my wsdls are based on
> schemas that are already compile by jaxb). I am using the -xjc
> <existing-jaxb.jar> as part of my wsdl2java task but it seems to be
> ignored.
> My episode is defined as META-INF\sun-jaxb.episode in my jar - however
> wsdl2java seems to ignore the episode.
>
> Has anyone had problems with this? Anyone have a solution?
>
> Thanks,
> Adrian
> --
> View this message in context:
> http://www.nabble.com/jaxb-episode-tp20922242p20922242.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>