The following instructions explain how you can download the source code for WSO2 Application Server 5.3.0 release. The complete source code used for this product release consists of a number of Git repositories, which are listed below along with the branch.
Follow the steps given below to download each of the above repositories for AS 5.3.0.
Clone the relevant Git repository to a folder of your choice. The location of the extracted source is referred to as <gitrepo
_SOURCE_HOME>. For example, to clone the Git repository for Carbon4 Kernel, use the following command:
git clonehttps://github.com/wso2/carbon4-kernel.git <carbon4kernel
Navigate to the <gitrepo
_SOURCE_HOME>directory .using the following command:
Checkout Check out the tag (branch), which corresponds to the AS 5.3.0 release, to a folder of your choice:
git checkout -b <REMOTE_BRANCH/TAG> <LOCAL_BRANCH>
For example, to check out the tag for Carbon4 Kernel, use the following command:
git checkout -b v2v4.3.7 v184.108.40.206
After the source code is downloaded, you can start editing. However, it is recommended to run a build prior to changing the source code to ensure that the download is complete.