Mike,

WSDLToJava is essentially a plugin loader and invoker. Thus, it's not really runnable from the project itself as the plugins aren't available. If you run it from a unit test in the jaxws plugin, it should be ok. We also have the wsdlto-test module which has a bunch of code generation tests. Kind of a systest type thing for the wsdl2java stuff.

Dan


On Jul 7, 2008, at 5:27 PM, Ramnarine, Michael wrote:

I'm setting up to look into CXF-1678: wsdl2java does not generate impl
stubs when only logical wsdl is present

But when I try to run org.apache.cxf.tools.wsdlto.WSDLToJava in Eclipse
it can't find the jaxws frontend plugin



I did a mvn -Psetup.eclipse, and loaded the projects into an Eclipse
workspace.

The JUnit tests work, but it doesn't look like any use loadFrontEnd



This works from the command line:

"C:\Program Files\Java\jdk1.5.0_13\bin\java" -cp
"C:\apache-cxf-2.1.1\bin\..\lib\cxf-manifest.jar;C:\Program
Files\Java\jdk1.5.0_13\lib\tools.jar;;.;C:\Program
Files\Java\jre1.5.0_13\lib\ext\QTJava.zip;C:\Program
Files\Java\jre1.6.0_05\lib\ext\QTJava.zip"
-Djava.util.logging.config.file="C:\apache-cxf-2.1.1\bin\..\etc \logging.
properties" org.apache.cxf.tools.wsdlto.WSDLToJava -impl
hello_world.wsdl



Any ideas on what I need to do to get this working in Eclipse?



-Mike




---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to