You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by "Ramnarine, Michael" <Mi...@iona.com> on 2008/07/07 23:27:18 UTC

How to setup Eclipse to load jaxws frontend plugin?

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

 


Re: How to setup Eclipse to load jaxws frontend plugin?

Posted by Glen Mazza <gl...@gmail.com>.
http://www.jroller.com/gmazza/date/20080417#WFstep3 (and #WFstep4) ?


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
> 
>  
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-setup-Eclipse-to-load-jaxws-frontend-plugin--tp18326997p18327375.html
Sent from the cxf-dev mailing list archive at Nabble.com.


Re: How to setup Eclipse to load jaxws frontend plugin?

Posted by Daniel Kulp <dk...@apache.org>.
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
dkulp@apache.org
http://www.dankulp.com/blog