You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Joshua Jackson <jo...@gmail.com> on 2007/07/24 10:36:06 UTC
Setting up eclipse tutorial
Dear all,
Does anyone has problem with tutorial setting up eclipse located at
http://incubator.apache.org/cxf/setting-up-eclipse.html ?
I don't quite get it.
What does these maven command:
mvn -Pfastinstall
mvn -Psetup.eclipse
has got to do with the eclipse plugin-in setup? Perhaps before
executing those maven commands, it should write down how to set up the
maven first so new user won't be confused.
Second, those maven commands doesn't work for me. This is what I get
from my console:
$> mvn -Psetup.eclipse
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] You must specify at least one goal. Try 'install'
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Tue Jul 24 15:32:35 ICT 2007
[INFO] Final Memory: 1M/2M
[INFO] ------------------------------------------------------------------------
Am I missing something here?
Thanks in advance.
:)
--
It's not just about coding, it's a matter of fulfilling your core being
YM!: thejavafreak
Blog: http://joshuajava.wordpress.com/
Re: Setting up eclipse tutorial
Posted by Daniel Kulp <dk...@apache.org>.
Joshua,
What are you trying to achieve?
The instructions at:
http://incubator.apache.org/cxf/setting-up-eclipse.html
are for CXF developers that want to get the CXF trunk up in eclipse for
developing CXF itself. It has nothing to do with the Eclipse STP
plugins and getting STP to work.
For the eclipse STP plugin, there was a thread earlier about it:
http://www.nabble.com/Eclipse-STP-installation-process-tf4125577.html#a11732259
In anycase, if you want to get CXF up and running in eclipse for
developing CXF, the first page should do it.
The two commands:
1) mvn -Pfastinstall - this should build all of CXF. This is needed
to get the buildtools installed and the plugins, etc...
The -Pfastinstall maven profile turns off the tests, checkstyle, pmd,
etc... and just gets the jars installed as fast as possible.
2) mvn -Psetup.eclipse - this will setup the eclipse workspace and
create all the projects (that you then need to import into that
workspace) It goes beyond a normal "mvn eclipse:eclipse" in for three
things:
a) The top level pom will add the checkstyle rules and CXF codestyles,
import orders, etc... into the workspace dir
b) For each project, it adds the checkstyle and PMD files.
(.pmd, .ruleset, .checkstyle)
c) It involkes eclipse:eclipse after the process-test-sources phase so
the test directories get properly added. A default "eclipse:eclipse"
executes only after the process-sources phase so any of the generated
test code doesn't get added to the project.
Hope this helps!
Dan
On Tuesday 24 July 2007 04:36, Joshua Jackson wrote:
> Dear all,
>
> Does anyone has problem with tutorial setting up eclipse located at
> http://incubator.apache.org/cxf/setting-up-eclipse.html ?
>
> I don't quite get it.
> What does these maven command:
> mvn -Pfastinstall
> mvn -Psetup.eclipse
>
> has got to do with the eclipse plugin-in setup? Perhaps before
> executing those maven commands, it should write down how to set up the
> maven first so new user won't be confused.
>
> Second, those maven commands doesn't work for me. This is what I get
> from my console:
>
> $> mvn -Psetup.eclipse
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------
>-- [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
>-- [INFO] You must specify at least one goal. Try 'install'
> [INFO]
> ----------------------------------------------------------------------
>-- [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------
>-- [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Jul 24 15:32:35 ICT 2007
> [INFO] Final Memory: 1M/2M
> [INFO]
> ----------------------------------------------------------------------
>--
>
> Am I missing something here?
>
> Thanks in advance.
>
> :)
--
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727 C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog
Re: Setting up eclipse tutorial
Posted by Willem Jiang <ni...@iona.com>.
Basically You need to run mvn install first to down load and build the
project first and then run mvn eclipse:eclispse to setup the eclipse
workspace.
mvn -Pfastinstall
Means you run 'mvn install' and skip the check style , pmd checking and
testing.
Then you run
mvn -Psetup.eclipse
It will copy the check style, pmd configuration files to your eclipse
workspace and run 'mvn eclipse:eclipse'
So if you just got the source code, you need to run the fellowing
commands one by one.
mvn -Pfastinstall
mvn -Psetup.eclipse
Willem.
Joshua Jackson wrote:
> Dear all,
>
> Does anyone has problem with tutorial setting up eclipse located at
> http://incubator.apache.org/cxf/setting-up-eclipse.html ?
>
> I don't quite get it.
> What does these maven command:
> mvn -Pfastinstall
> mvn -Psetup.eclipse
>
> has got to do with the eclipse plugin-in setup? Perhaps before
> executing those maven commands, it should write down how to set up the
> maven first so new user won't be confused.
>
> Second, those maven commands doesn't work for me. This is what I get
> from my console:
>
> $> mvn -Psetup.eclipse
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] You must specify at least one goal. Try 'install'
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: < 1 second
> [INFO] Finished at: Tue Jul 24 15:32:35 ICT 2007
> [INFO] Final Memory: 1M/2M
> [INFO]
> ------------------------------------------------------------------------
>
> Am I missing something here?
>
> Thanks in advance.
> :)
>