[Download] | [Documentation Index] | [Release Note]
This project uses Subversion to manage its source code. Instructions on Subversion use can be found at http://svnbook.red-bean.com/.
The following is a link to the online source tag of the WSO2 AppServer 5.0.2 release (Carbon 4.0.0).
http://svn.wso2.org/repos/wso2/tags/carbon/3.2.0/
The complete source including the carbon platform can be checked out anonymously from SVN with this command:
$ svn checkout http://svn.wso2.org/repos/wso2/tags/carbon/3.2.0/ wso2carbon
The list of commands that can be run are as follows. If you only
want to build the WSO2 AppServer, you have to always use the option "-Dproduct=as".
mvn clean install -Dproduct=as | To create the complete release artifacts of WSO2 AppServer including the binary and source distributions. |
mvn clean install -Dmaven.test.skip=true -Dproduct=as | To create the complete release artifacts of WSO2 AppServer including the binary and source distributions, without running any of the unit tests. |
mvn clean install -Dmaven.test.skip=true -Dproduct=as -o | To create the complete release artifacts of WSO2 AppServer including the binary and source distributions, without running any of the unit tests, in offline mode. This can be done only if you've already built the source at least once. |
Everyone can access the Subversion repository via HTTPS, but Committers must checkout the Subversion repository via HTTPS.
The Carbon framework related source code can be checked out from the following commands.
$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon carbon
The Carbon core project is the root project of the OSGi platform on whcih all the Java product stack is built on top of, and the carbon-components contains all the components not just AppServer specific components. So you obviously need to build just the set of components required by the AppServer, which can be achieved through;
$ mvn clean install -Dproduct=as
To commit changes to the repository, execute the following command (svn will prompt you for your password)
$ svn commit --username your-username -m "A message"
For those users who are stuck behind a corporate firewall which is blocking http access to the Subversion repository, you can try to access it via the developer connection:
$ svn checkout https://svn.wso2.org/repos/wso2/trunk/carbon carbon
The Subversion client can go through a proxy, if you configure it to do so. First, edit your "servers" configuration file to indicate which proxy to use. The files location depends on your operating system. On Linux or Unix it is located in the directory "~/.subversion". On Windows it is in "%APPDATA%\Subversion". (Try "echo %APPDATA%", note this is a hidden directory.)
There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion client and run any command; this will cause the configuration directory and template files to be created.
Example : Edit the 'servers' file and add something like :
[global] http-proxy-host = your.proxy.name http-proxy-port = 3128