You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ode.apache.org by Apache Wiki <wi...@apache.org> on 2006/07/28 20:22:28 UTC

[Ode Wiki] Update of "Building" by MatthieuRiou

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ode Wiki" for change notification.

The following page has been changed by MatthieuRiou:
http://wiki.apache.org/ode/Building

The comment on the change is:
Creating a building / testing guide.

New page:
[[TableOfContents]]

First of all GettingSourceCode is required to build from the sources.

= Building =

You'll need to install [http://maven.apache.org/ Maven2] to build Ode. Just follow the [http://maven.apache.org/download.html#Installation installation instructions]. Then open a command in the source root (usually in ode/trunk) and type:

{{{
maven install
}}}

This will compile and install all necessary artifacts in your local repository.

= Running in Tomcat (with Axis2) =

After everything has been compiled, you should find a WAR file in the axis2-war/target directory. Rename it to '''ode.war''' and copy this file to [http://tomcat.apache.org Tomcat]'s webapp directory. Start Tomcat and Ode should be up and running. You should get the [http://ws.apache.org/axis2 Axis2] welcome page under http://localhost:8080/ode.

The Ode WAR includes its own embedded database ([http://db.apache.org/derby Derby]) so you don't have to worry about configuring any external database for now.

= Testing =

Copy the content of axis2-examples/src/examples (the 3 directories) to tomcat/webapps/ode/WEB-INF/processes, this will automatically deploy the 3 example processes. Use the sendsoap command (provided in an archive attached to this page until we produce a clean package for it) to send test messages. The messages to run each of the 3 examples are provided in their respective directory (testRequest.soap). For each example type something like:

{{{
sendsoap http://localhost:8080/ode/processes/helloWorld axis2-examples/src/examples/HelloWorld2/testRequest.soap
}}}

The urls should be updated according to the address defined in the WSDL file for the process service.