...
Make sure you set the "fork=true" attribute for the <java/> task as shown above. Also, remember to keep each word or flag within the command line options in its own <arg/> element (e.g., do not use <arg value="-o hello.wsdl"/>, but split them up into two <arg/> elements as done here.)
Although we would recommend using Maven, see the antbuild sample in the CXF distribution for an example of using Ant to create a CXF project.
See Also
idl2wsdl
, java2js
, wsdl2corba
, wsdl2java
, wsdl2js
, wsdl2service
, wsdl2soap
, wsdl2xml
, wsdlvalidator
and xsd2wsdl.