This page of the installation guide will explain how to build WSO2 WSAS for Java using the source distribution of the release.
WSO2 WSAS for Java is available as a Standalone Edition and a Servlet Edition. In other pages of the Installation Guide we have given instructions on the installation of these 2 editions.
For the more adventurous users this release provides a source distribution so that they can build the WSO2 WSAS from source.
Download WSO2 WSAS Source Distribution: wso2wsas-java-src-1.1.zip
Java Runtime Environment | 1.4 or 1.5 (For instructions on setting up the JRE in different operating systems, visit http://java.sun.com) |
Maven | 1.0.2 or higher in Maven 1.x series (download). Please download maven 1.x version. |
Operating System | Tested on Windows XP, Linux(Fedora core, Ubuntu and Gentoo), Mac OS X, |
The WSO2 WSAS build is based on Maven. Hence the prerequisites to build WSO2 WSAS from source distribution is to have Maven & JDK installed. Extensive instruction guides are available at the Maven site.
This guide however contains the easiest path for quick environment setting. Advanced users who wish to know more about Maven can visit here.
The tar ball or the zip archive is the best option. Once the archive is downloaded expand it to a directory of choice and set the environment variable MAVEN_HOME and add MAVEN_HOME/bin to the path as well. More instructions for installing Maven in Unix based operating systems can be found here.
Once Maven is properly installed you can start building WSO2 WSAS for Java.
The source distribution is available as a zipped archive. All the necessary build scripts are included with the source distribution. Expand the source archive to a directory of your choice. You can run the following commands inside that directory to build WSO2 WSAS.
List of commands that can be run are as follows:
Note: The first time you run Maven it will automatically download the dependent jars. Therefore, first run will take more time.
Maven release | To create the complete release artifacts including Standalone Edition, Servlet Edition, and source distributions. |
Maven dist | To create Standalone Edition and Servlet Edition distributions. |
Maven jar | Compiling and building the jars |