Page Created :
ODExSITE :
Building ODE
Building ODE has been created by Matthieu Riou (May 29, 2007). Content:Ode is still under incubation and doesn't have any official release yet (but we're working on it). So you will have to build from the source code but thanks to Buildr Getting the source codeFirst you will have to make sure that you have Subversion $> svn checkout http://svn.apache.org/repos/asf/incubator/ode/trunk ode
Building is then pretty simple. Open a command in the source root directory and run: rake package
To try the test cases bundled with ODE: rake test It just works! For more information about Buildr see http://buildr.rubyforge.org/ Building With Maven2You'll need to install Maven2 mvn install This will compile and install all necessary artifacts in your local repository.
After everything has been compiled, it's rather easy to produce a standalone distribution of ODE. Just go into the distro-axis2 directory (or distro-jbi if you're interested in the JBI integration) and type: mvn install Running in TomcatYou should find the full distribution in the distro-axis/target directory. Unzip it somewhere on your disk, everything needed is inside. Get the WAR file in the distribution root directory, rename it to ode.war and copy this file to Tomcat TestingCopy the content of examples directory in the distribution (the 3 sub-directories) to tomcat/webapps/ode/WEB-INF/processes, this will automatically deploy the 3 example processes. Use the sendsoap command located in the distribution bin directory 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: bin/sendsoap http://localhost:8080/ode/processes/helloWorld examples/HelloWorld2/testRequest.soap
The sendsoap executable can be found in the distribution bin directory. The urls should be updated according to the address defined in the WSDL file for the process service. If you want to use an IDE to explore the PXE sources or debug PXE executables, Eclipse .project and .classpath files are present in all the modules; simply choose File|Import from the Eclipse menu, and select the root pxe directory. You may also use Maven to generate project files for other IDEs. See the Maven documentation for details. |
Unsubscribe or edit your notifications preferences