You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Gr...@emc.com on 2008/09/16 18:21:44 UTC
Newbie question on running the CXF Samples in Eclipse
Help please.
I installed CXF on my machine, and am successful in running the samples
from the command line.
Now I want to see these samples running in Eclipse. But I am somewhat
stuck (likely due to something simple).
I installed Eclipse (Ganymede) with the SOA Tools Project.
I set up the CXF runtime in eclipse according to
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html.
I installed Tomcat and set up the server as specified in
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html
I created a new project and imported the samples directory from the CXF
install directory.
But now comes the really newbie question: "what else do I need to do in
order to actually run or execute any of these samples in the eclipse
environment? How do I actually run (or debug) one of these sample
applications?".
Thanks in advance
sgg
RE: Newbie question on running the CXF Samples in Eclipse
Posted by Gr...@emc.com.
Ok, classpath incorrectly set up, this is what was tripping me up.
-----Original Message-----
From: Graham_Steveg@emc.com [mailto:Graham_Steveg@emc.com]
Sent: Tuesday, September 16, 2008 1:24 PM
To: users@cxf.apache.org
Subject: RE: Newbie question on running the CXF Samples in Eclipse
I am not even getting close to that step.
I am trying to run
\samples\jax_rs\basic\src\demo\jaxrs\client\Client.java
When I attempt to "Run as >> Java Application", I get a dialog saying,
"Selection does not contain a main type"
"Debug as >> Java Application" gives the same result.
Like I said, I suspect it is something really simple that I am missing.
sgg
-----Original Message-----
From: Ostermueller, Erik [mailto:Erik.Ostermueller@fnis.com]
Sent: Tuesday, September 16, 2008 12:25 PM
To: users@cxf.apache.org
Subject: RE: Newbie question on running the CXF Samples in Eclipse
Use eclipse to start tomcat.
Then, put breakpoints in your client and/or server code.
>From inside eclipse, run the client.
It should stop at the breakpoints you've set.
-----Original Message-----
From: Graham_Steveg@emc.com [mailto:Graham_Steveg@emc.com]
Sent: Tuesday, September 16, 2008 11:22 AM
To: users@cxf.apache.org
Subject: Newbie question on running the CXF Samples in Eclipse
Help please.
I installed CXF on my machine, and am successful in running the samples
from the command line.
Now I want to see these samples running in Eclipse. But I am somewhat
stuck (likely due to something simple).
I installed Eclipse (Ganymede) with the SOA Tools Project.
I set up the CXF runtime in eclipse according to
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html.
I installed Tomcat and set up the server as specified in
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html
I created a new project and imported the samples directory from the CXF
install directory.
But now comes the really newbie question: "what else do I need to do in
order to actually run or execute any of these samples in the eclipse
environment? How do I actually run (or debug) one of these sample
applications?".
Thanks in advance
sgg
_____________
The information contained in this message is proprietary and/or
confidential. If you are not the
intended recipient, please: (i) delete the message and all copies; (ii)
do not disclose,
distribute or use the message in any manner; and (iii) notify the sender
immediately. In addition,
please be aware that any message addressed to our domain is subject to
archiving and review by
persons other than the intended recipient. Thank you.
_____________
RE: Newbie question on running the CXF Samples in Eclipse
Posted by Gr...@emc.com.
I am not even getting close to that step.
I am trying to run
\samples\jax_rs\basic\src\demo\jaxrs\client\Client.java
When I attempt to "Run as >> Java Application", I get a dialog saying,
"Selection does not contain a main type"
"Debug as >> Java Application" gives the same result.
Like I said, I suspect it is something really simple that I am missing.
sgg
-----Original Message-----
From: Ostermueller, Erik [mailto:Erik.Ostermueller@fnis.com]
Sent: Tuesday, September 16, 2008 12:25 PM
To: users@cxf.apache.org
Subject: RE: Newbie question on running the CXF Samples in Eclipse
Use eclipse to start tomcat.
Then, put breakpoints in your client and/or server code.
>From inside eclipse, run the client.
It should stop at the breakpoints you've set.
-----Original Message-----
From: Graham_Steveg@emc.com [mailto:Graham_Steveg@emc.com]
Sent: Tuesday, September 16, 2008 11:22 AM
To: users@cxf.apache.org
Subject: Newbie question on running the CXF Samples in Eclipse
Help please.
I installed CXF on my machine, and am successful in running the samples
from the command line.
Now I want to see these samples running in Eclipse. But I am somewhat
stuck (likely due to something simple).
I installed Eclipse (Ganymede) with the SOA Tools Project.
I set up the CXF runtime in eclipse according to
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html.
I installed Tomcat and set up the server as specified in
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html
I created a new project and imported the samples directory from the CXF
install directory.
But now comes the really newbie question: "what else do I need to do in
order to actually run or execute any of these samples in the eclipse
environment? How do I actually run (or debug) one of these sample
applications?".
Thanks in advance
sgg
_____________
The information contained in this message is proprietary and/or
confidential. If you are not the
intended recipient, please: (i) delete the message and all copies; (ii)
do not disclose,
distribute or use the message in any manner; and (iii) notify the sender
immediately. In addition,
please be aware that any message addressed to our domain is subject to
archiving and review by
persons other than the intended recipient. Thank you.
_____________
RE: Newbie question on running the CXF Samples in Eclipse
Posted by "Ostermueller, Erik" <Er...@fnis.com>.
Use eclipse to start tomcat.
Then, put breakpoints in your client and/or server code.
>From inside eclipse, run the client.
It should stop at the breakpoints you've set.
-----Original Message-----
From: Graham_Steveg@emc.com [mailto:Graham_Steveg@emc.com]
Sent: Tuesday, September 16, 2008 11:22 AM
To: users@cxf.apache.org
Subject: Newbie question on running the CXF Samples in Eclipse
Help please.
I installed CXF on my machine, and am successful in running the samples
from the command line.
Now I want to see these samples running in Eclipse. But I am somewhat
stuck (likely due to something simple).
I installed Eclipse (Ganymede) with the SOA Tools Project.
I set up the CXF runtime in eclipse according to
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html.
I installed Tomcat and set up the server as specified in
http://cwiki.apache.org/CXF20DOC/cxfeclipseplugininstructions.html
I created a new project and imported the samples directory from the CXF
install directory.
But now comes the really newbie question: "what else do I need to do in
order to actually run or execute any of these samples in the eclipse
environment? How do I actually run (or debug) one of these sample
applications?".
Thanks in advance
sgg
_____________
The information contained in this message is proprietary and/or confidential. If you are not the
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose,
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,
please be aware that any message addressed to our domain is subject to archiving and review by
persons other than the intended recipient. Thank you.
_____________