No, we don't have the doc yet, but i put a placeholder here [1] (CXF tools Ant tasks <http://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=CXF20DOC&title=CXF+tools+Ant+tasks&linkCreation=true&fromPageId=31506>)

There are couple ways to add the wsdl2java/java2wsdl tasks to the build file (http://ant.apache.org/manual/using.html#external-tasks)

And we support at least two ways,

1. |<taskdef <http://ant.apache.org/manual/CoreTasks/taskdef.html> name="wsdl2java" classname="org.apache.cxf.ant.extensions.WSDL2JavaTask"/>|
2. |<project xmlns:cxf="antlib:||org.apache.cxf.ant.extensions||">

I have not try other ways, but should work as well

For the options, you can find them in the task itself and the parent class(CxfAntTask) The codebase is in cxf/tools/anttask/src/main/java/org/apache/cxf/ant/extensions

I don't know if it's possible, but i would like to have the same format as the common ant tasks (e.g http://ant.apache.org/manual/CoreTasks/ant.html)

Thanks,
James
|
[1] http://cwiki.apache.org/confluence/display/CXF20DOC/Tools

Team,

Do we have any documentation for how to use the CXF <wsdl2java/> Ant
task?  (We now have it in 2.0.1, right?) I'll happily add it in to the
Wiki but need to know what its properties, elements, the <taskdef/> we
need to add to the build file, etc.

Thanks,
Glen


Reply via email to