This document provides information on how to use SVN to get an SVN checkout/update, make commits to the repository, etc., in the process of contributing to Apache projects (specifically Axis2). Instructions on configuring IDEs for development and using Maven to build the project is also included here.
The Axis2 development team uses Subversion (SVN) for source control. Subversion is a compelling replacement for CVS, developed under the auspices of the Tigris community and licensed under an Apache compatible license. To learn more about Subversion or to download the latest distribution, visit the Subversion project site. If you are looking for guidance on setting up and installing Subversion, please read the ASF Source Code Repositories page.
To check out the latest version of Axis2 from the Foundation's Subversion repository, you must use one of the following URLs depending on your level of access to the Axis2 source code:
If you are a committer, make sure that you have selected an svnpasswd. To do this, you must log into svn.apache.org. For more information, please read the ASF Source Code Repositories page.
Once you have successfully installed Subversion, you can check out Axis2 trunk by following these steps:
Axis2's build is based on Maven 2. Maven is a build system that allows for the reuse of common build projects across multiple projects. For information about obtaining, installing, and configuring Maven 2, please see the Maven project page. To use Maven to build the Axis2 project, Please install Maven2 and follow instructions here - Quick Guide to Maven for Axis 2.0.
The Axis2 development team uses a variety of development tools from vi to emacs to Eclipse to Intellij/IDEA. The following section is not an endorsement of a specific set of tools, it is simply meant as a pointer to ease the process of getting started with Axis2 development.
We recommend using maven-eclipse-plugin to import the Axis2 sources into Eclipse. This works best with the following combinations of versions and settings:
To summarize, use the following command to prepare the Axis2 sources for import into Eclipse:
mvn -DskipTests=true install eclipse:eclipse
As usual, before importing the projects into Eclipse, check that a Classpath Variable for M2_REPO is configured in Eclipse. Then select File > Import > Existing Projects into Workspace > Select root directory. Selecting the root of the Axis source discovers all the modules and allows them to be imported as individual projects at once.