I would try to use the ant tasks http://cxf.apache.org/docs/ant-tasks-20x-and-21x.html
Ronen On Fri, Apr 15, 2011 at 11:31 AM, Magnus Rundberget <[email protected] > wrote: > Hi, > > I've created a task for generating java source files from a wsdl. JavaExec > seemed appropriate but I'm struggling to get the incremental build feature > to work > > task wsdl2Java(type: JavaExec) { > inputs.files configurations.cxfCodeGenLibs, wsdlFile, jaxbBindingsFile > outputs.files generatedWsdlDir > main = 'org.apache.cxf.tools.wsdlto.WSDLToJava' > classpath = configurations.cxfCodeGenLibs > args '-b', jaxbBindingsFile, > '-d', generatedWsdlDir, > '-xjc-Xts', > wsdlFile > } > > should this work ? ... or am I missing something obvious ? > > cheers > Magnus >
