Gary,

I'll apply your patch shortly ...

Cheers,
Eoghan
 

> -----Original Message-----
> From: Tully, Gary [mailto:[EMAIL PROTECTED] 
> Sent: 09 July 2007 14:56
> To: [email protected]
> Subject: Addition of -xjc argument to wsdltojava, fix for CXF-268
> 
> Hi,
> 
> I have uploaded a small patch[1] that addresses issue CXF-268[2]. 
> 
> The patch adds a '-xjc' argument to the wsdl2java tool which 
> allows arguments to be passed directly to the invocation of 
> the RI xjc compiler when the jaxb binding is in use.
> 
> A typical usage is to include a xjc plugin that augments code 
> generation. For example, to include and configure  the 
> jaxb-commons-lang plugin[3] that provides a toString(), 
> hashCode() and equals() method on all generated classes based 
> on the commons-lang reflection builder, one would use the following:
> 
>   wsdl2java 
> -xjc-Xcommons-lang,-Xcommons-lang:ToStringStyle=SIMPLE_STYLE
> someFile.wsdl
> 
> Would some committer have a moment to review and apply?
> 
> Thanks,
> Gary.
> 
> [1]
> https://issues.apache.org/jira/secure/attachment/12361412/xjc-
> opts-gtull
> y.patch
> [2] https://issues.apache.org/jira/browse/CXF-268
> [3] https://jaxb2-commons.dev.java.net/commons-lang-plugin/
> 
> ----------------------------
> IONA Technologies PLC (registered in Ireland) Registered 
> Number: 171387 Registered Address: The IONA Building, 
> Shelbourne Road, Dublin 4, Ireland
> 

----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland

Reply via email to