cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tully, Gary" <Gary.Tu...@iona.com>
Subject Addition of -xjc argument to wsdltojava, fix for CXF-268
Date Mon, 09 Jul 2007 13:55:39 GMT
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

Mime
View raw message