Learn more about how this works. I have to add a classpath to jaxb2-commons and without which wsimport works without complaints, but nothing happens! After adding the classpath below
<path id="jaxb2-commons.classpath"> <fileset dir="${dir.toolchain}/noarch/jaxb2-basics-dist-0.6.0"> <include name="**/*.jar" /> </fileset> </path>
below wsimport worked as expected
<wsimport wsdl="@{dir-wsdl}/@{name-wsdl}" taskname=" wsimport-@ {service}" destdir="@{dest-dir}" sourcedestdir="@{source-dest-dir}" package="@{package}" keep="@{keep}" verbose="@{verbose}" xdebug="@{xdebug}" xnocompile="@{xnocompile}" target="2.1"> <binding dir="@{dir-wsdl}" includes=" bindings-wsdl-@ {name-wsdl}.xml, bindings-schema-@ {name-wsdl}.xml" /> <xjcArg value="-Xequals" /> <xjcArg value="-XhashCode" /> <xjcArg value="-XtoString" /> <xjcArg value="-Xjaxbindex" /> <xjcArg value="-Xsetters" /> </wsimport>
source share