| 1 |
<html> |
| 2 |
|
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| 5 |
<link href="axis.css" rel=stylesheet type=text/css> |
| 6 |
<title>Building Axis</title> |
| 7 |
</head> |
| 8 |
|
| 9 |
<body> |
| 10 |
<center> |
| 11 |
<h1> |
| 12 |
<img SRC="images/axis.jpg" height=96 width=176></h1> |
| 13 |
</center> |
| 14 |
<h1> |
| 15 |
Guide to building Axis</h1> |
| 16 |
<i>1.4 Version</i> |
| 17 |
<br><i>Feedback: <a href="mailto:[email protected]">[email protected]</a></i> |
| 18 |
|
| 19 |
<h3>Table of Contents</h3> |
| 20 |
<a href="#Introduction">Introduction</a> |
| 21 |
<br><a href="#Environment">Recommended Environment</a> |
| 22 |
<br><a href="#Required">Building without Optional Components</a> |
| 23 |
<br><a href="#Servlet">Building with Servlets</a> |
| 24 |
<br><a href="#JSSE">Building with JSSE</a> |
| 25 |
<br><a href="#JIMI">Building with JIMI</a> |
| 26 |
<br><a href="#CASTOR">Building with Castor</a> |
| 27 |
<br><a href="#HTTPCLIENT">Building with HTTP Client</a> |
| 28 |
<br><a href="#XMLSEC">Building with XML Security</a> |
| 29 |
<br><a href="#JMS">Building with JMS</a> |
| 30 |
<br><a href="#Misc">Miscellaneous Information</a> |
| 31 |
<br><a href="mailto:[email protected]">Feedback</a> |
| 32 |
|
| 33 |
|
| 34 |
<h2><a NAME="Introduction"></a>Introduction</h2> |
| 35 |
This guides you through the process of building Axis. It starts off with |
| 36 |
the process of building axis with just the bare required jars. It goes on to |
| 37 |
describe the process for building with other optional components. It will also |
| 38 |
have a recommended version of the component to use. |
| 39 |
|
| 40 |
<h2><a NAME="Environment"></a>Recommended Environment</h2> |
| 41 |
<ul> |
| 42 |
<li> JDK Version - 1.3.1+ </li> |
| 43 |
<li> Ant Version - 1.5.3 or 1.6 </li> |
| 44 |
</ul> |
| 45 |
|
| 46 |
|
| 47 |
<h2><a NAME="Required"></a>Building without Any Optional Components</h2> |
| 48 |
<ol> |
| 49 |
<li>Download the axis project from svn. ( http://svn.apache.org/repos/asf/webservices/axis/)</li> |
| 50 |
<li>Download activation.jar to $(axis.home)/java/lib. |
| 51 |
<br>You can download this from |
| 52 |
<a href="http://java.sun.com/products/javabeans/glasgow/jaf.html">http://java.sun.com/products/javabeans/glasgow/jaf.html</a> |
| 53 |
<br>Recommended version : 1.0.2 |
| 54 |
</li> |
| 55 |
<li>Download mailapi.jar to $(axis.home)/java/lib. |
| 56 |
<br>You can download this from |
| 57 |
<a href="http://java.sun.com/products/javamail/">http://java.sun.com/products/javamail/</a> |
| 58 |
<br>Recommended version : 1.3 |
| 59 |
</li> |
| 60 |
|
| 61 |
|
| 62 |
<li>You could also download j2ee.jar which has activation, mailapi , |
| 63 |
servlets and bunch of others</li> |
| 64 |
|
| 65 |
<li>Download xercesImpl.jar and xmlApis.jar to $(axis.home)/java/lib. |
| 66 |
Theoretically you won't need it since this is already present in your |
| 67 |
ant's lib directory. But it is recommended to keep this in |
| 68 |
$(axis.home)/java/lib as well. |
| 69 |
|
| 70 |
<br>You can download this from |
| 71 |
<a href="http://xml.apache.org/xerces-j/">http://xml.apache.org/xerces-j/</a> |
| 72 |
(or copy it from your ant's lib directory.) |
| 73 |
<br>Recommended version : 2.2.1 |
| 74 |
</li> |
| 75 |
|
| 76 |
<li> You should be able to do able to run "ant compile" now from |
| 77 |
$(axis.home)/java/.</li> |
| 78 |
|
| 79 |
<li> |
| 80 |
|
| 81 |
To run "ant all-tests" you will need to add junit.jar to your ant |
| 82 |
installations lib directory. It is not sufficient that you keep it in |
| 83 |
$(axis.home)/java/lib. If not in ant lib it conks out saying it cannot |
| 84 |
create task/type of type: junit. |
| 85 |
<br>You can download this from |
| 86 |
<a href="http://www.junit.org/index.htm">http://www.junit.org/index.htm</a> |
| 87 |
|
| 88 |
<br>Recommended version : 3.8 + |
| 89 |
</li> |
| 90 |
|
| 91 |
</ol> |
| 92 |
|
| 93 |
<h2><a NAME="Servlet"></a>Building with Servlets</h2> |
| 94 |
This is needed to build the server-side components of Axis. |
| 95 |
<ol> |
| 96 |
<li>Download required Class libraries(servlet.jar) to $(axis.home)/java/lib. |
| 97 |
<br>You can download this from |
| 98 |
<a href="http://java.sun.com/products/servlet/">http://java.sun.com/products/servlet/</a> |
| 99 |
<br>Recommended version : 2.2 or 2.3 |
| 100 |
</li> |
| 101 |
</ol> |
| 102 |
|
| 103 |
<h2><a NAME="JSSE"></a>Building with JSSE</h2> |
| 104 |
This is needed for https support. |
| 105 |
<ol> |
| 106 |
<li>Download the required Class libraries( jsse.jar, jnet.jar,jcert.jar ) to $(axis.home)/java/lib. |
| 107 |
<br>You can download this from |
| 108 |
<a href="http://java.sun.com/products/jsse/">http://java.sun.com/products/jsse/</a> |
| 109 |
<br>Recommended version : 1.0.3 |
| 110 |
</li> |
| 111 |
</ol> |
| 112 |
|
| 113 |
<h2><a NAME="JIMI"></a>Building with JIMI</h2> |
| 114 |
<ol> |
| 115 |
<li>Download the required Class libraries( JimiProClasses.zip) to $(axis.home)/java/lib. |
| 116 |
<br>You can download this from |
| 117 |
<a href="http://java.sun.com/products/jimi/">http://java.sun.com/products/jimi/</a> |
| 118 |
</li> |
| 119 |
</ol> |
| 120 |
|
| 121 |
<h2><a NAME="CASTOR"></a>Building with Castor</h2> |
| 122 |
This is needed for the Castor serializer and deserializer. |
| 123 |
<ol> |
| 124 |
<li>Download the required Class libraries( castor-<version-no>-xml.jar) to $(axis.home)/java/lib. |
| 125 |
<br>You can download this from |
| 126 |
<a href="http://castor.exolab.org">http://castor.exolab.org</a> |
| 127 |
<br>Recommended version : 0.9.4.1 |
| 128 |
</li> |
| 129 |
</ol> |
| 130 |
|
| 131 |
<h2><a NAME="HTTPCLIENT"></a>Building with HTTP Client </h2> |
| 132 |
|
| 133 |
Httpclient is a better library for making http connections than the Java |
| 134 |
runtime. |
| 135 |
|
| 136 |
<ol> |
| 137 |
<li>Download the required Class libraries( commons-httpclient.jar) to $(axis.home)/java/lib. |
| 138 |
<br>You can download this from |
| 139 |
<a href="http://jakarta.apache.org/commons/httpclient/">http://jakarta.apache.org/commons/httpclient/</a> |
| 140 |
<br>Recommended version : 2.0-alpha2 |
| 141 |
</li> |
| 142 |
</ol> |
| 143 |
|
| 144 |
<h2><a NAME="XMLSEC"></a>Building with XML Security</h2> |
| 145 |
|
| 146 |
This is needed for Axis to support signed and encrypted messages (as |
| 147 |
opposed to unsigned messages over HTTPS, which is different) |
| 148 |
|
| 149 |
<ol> |
| 150 |
<li>Download the required Class libraries( xmlsec.jar) to $(axis.home)/java/lib. |
| 151 |
<br>You can download this from |
| 152 |
<a href="http://xml.apache.org/security/">http://xml.apache.org/security/</a> |
| 153 |
<br>Recommended version : 1.0.4 |
| 154 |
</li> |
| 155 |
<li>To run "ant all-tests" you will need to add xalan.jar |
| 156 |
<br>You can download this from |
| 157 |
<a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a> |
| 158 |
<br>Recommended version : 2.4.0 |
| 159 |
</li> |
| 160 |
</ol> |
| 161 |
|
| 162 |
<h2><a NAME="JMS"></a>Building with JMS</h2> |
| 163 |
This is needed for Axis to take advantage of synch/asynch messaging of JMS. |
| 164 |
<ol> |
| 165 |
<li>Download the required Class libraries (jms.jar) to $(axis.home)/java/lib. |
| 166 |
<br>You can download this from |
| 167 |
<a href="http://java.sun.com/products/jms/">http://java.sun.com/products/jms/</a> |
| 168 |
<br>Recommended Version : 1.0.2 |
| 169 |
</li> |
| 170 |
</ol> |
| 171 |
|
| 172 |
<h2><a NAME="Misc"></a>Miscellaneous Information</h2> |
| 173 |
<ul> |
| 174 |
|
| 175 |
<li>You can also compile with <a href="http://jikes.org/">Jikes</a> for |
| 176 |
bonus build speeds |
| 177 |
</li> |
| 178 |
|
| 179 |
<li>If you want a redistributable you know works with Java 1.3, build on |
| 180 |
Java 1.3. |
| 181 |
</li> |
| 182 |
|
| 183 |
<li>If you have problems installing or using Ant, start on the |
| 184 |
<A href="http://jakarta.apache.org/ant/problems.html">Ant problems page</A> |
| 185 |
|
| 186 |
|
| 187 |
<li>For developing in Axis please refer to the <a |
| 188 |
href="developers-guide.html">Developer's guide</a> |
| 189 |
</li> |
| 190 |
|
| 191 |
</ul> |
| 192 |
|
| 193 |
</body> |
| 194 |
|
| 195 |
</html> |