« August 2006 | Main | February 2007 »

October 2006 Archives

October 19, 2006

just starting with CXF (celtixfire)

The Apache CeltiXFire project has just recently been renamed to CXF. Which is much more userfriendly for the mouth at any rate, (Celtixfire is a bit of tongue twister).

I am only a newbie and only getting started on it now. I successfully imported the project into Eclipse thanks to Dan Kulp's explanation.

The only problem Ive come across so far was when building the project (out in the command line) using Maven 2.0.4 my /trunk/distribution/target directory was not being created. "mvn install" needs to be run in the trunk and distribution directory, however I found running "mvn -e install" more useful for error output. Maven runs fine from the distribution directory (/trunk/distribution) directory but from the trunk directory (/trunk) it generated a build error.

java.lang.NoClassDefFoundError: org/apache/cxf/configuration/CommandlineConfiguration
at java.lang.Class.getDeclaredMethods0(Native Method)


It seemed this was caused by out-of-date binaries. To make sure you update these, use "mvn clean install" instead of just "mvn install". If clean fails (which it did for me!), delete the */target directories manually. Clean out the local repository, i.e. remove the org.apache.cxf directory in c:\Documents and Settings\\.m2\repository. Then run "mvn -e install".

After this my build worked and the /trunk/distribution/target directory was created.

The project is now complete with distribution jars and demos \distribution\src\main\release\samples and up and running in Eclipse.

About October 2006

This page contains all entries posted to SOS in October 2006. They are listed from oldest to newest.

August 2006 is the previous archive.

February 2007 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.31