Build Guide
Introduction
This guides you through the process of building Axis-MORA. It starts off with the process of building axismora with just the bare required jars. It will also have a recommended version of the component to use.
Recommended Environment
- JDK Version - 1.4.0+
- Ant Version - 1.5.1
Building with following required component
- Download the axis-Mora project from the cvs.
we call the root directory MORA_HOME
- Download the following jars.
Download axis1.1 distribution from the http://ws.apache.org/axis/releases.html and copy the
- axis.jar (axis1.1)
- axis-ant.jar
- wsdl4j.jar
- saaj.jar
- jaxrpc.jar
- commons-discovery.jar
- commons-logging.jar
- log4j-1.2.8.jar
from the lib folder to the MORA_HOME/lib
- Download the activation.jar.
You can download this from
http://java.sun.com/products/javabeans/glasgow/jaf.html
- Download xercesImpl.jar , xmlApis.jar and xmlParserAPIs.jar
You can download this from
http://xml.apache.org/xerces-j/.
- you will need to add junit.jar to your lib directory.
You can download this from http://www.junit.org/index.htm Recommended version: 3.8 +.
- Download the xpp3-1.1.3.2.jar.
You can download this from
http://www.extreme.indiana.edu/xpp/
- Download the servlet.jar.
You can download this from
http://java.sun.com/products/servlet/
Or you can get this jar from \common \lib\servlet.jar
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.zip
Recommended version: 2.2 or 2.
Keep all these jars in the /lib/. Then you can start your Building journey on the axis-MORA.
- To build you need to have ant1.5+ in your machine.Copy the junit.jar to the ant lib
- Make sure ant optional jar and axis-ant jar is also in your ant lib
- To build you can use command "ant build-all" it will compile everything. it will create a build/webapps/axismora directory. you can copy the aixsmora directory tomcat in the tomcat. When you start the tomcat the axismora will be listening on http://<host>:<port>/axismora/servlet/AxisServlet.
- To compile src only (without samples / tests) use ant compile
Note
you must run the ant tasks while you are at the MORA_HOME.
Congratulation now you have axismora up and running. Please note that if you need to deploy your own service in axismora you should generates a wrapper for this service. To do this we have tool called WSDL2Ws with axismora. It accept wsdl file to generate the wrapper.(tool to do it with a java class will be comeing shortly.) To learn how to use it please have a look at the example3 at user guide.
Miscellaneous Information
- If you are new to this axis-mora please refer to the User guide.
- For developing in axis-mora please refer to the Developer guide
- If you have problems building or using Ant, start on the Ant problems page in axis
- If you have any problem in building process please look at the FAQ
- if you want to test the axismora without tomcat you may use org.apache.axismora.server.SimpleAxisServer. (make sure to keep mora-config.wsdd file in the same directory as you start the server)