Developing Apache Synapse

Working with Subversion

The Synapse development uses Subversion for source control. 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.

Checkout

Use the following URL to download latest source code of Synapse:

Once you have successfully installed Subversion, you can check out Synapse trunk by following these steps:

  1. Run svn co <repository URL> synapse where repository URL is one of the URLs from the previous list.
  2. This step will check out the latest version of the Synapse Java codebase to a directory named "synapse". The second parameter to the svn co selects a directory to create on your local machine. If you want to checkout Synapse to a different directory, feel free to change synapse to any other directory name.
  3. To update your working copy to the latest version from the repository. Execute the svn update command.
  4. If you would like to submit a patch, you can execute svn diff to create a unified diff for submission to the Synapse JIRA issue tracker.

Installing Maven 1

Synapse build is based on Maven 1. 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 1, please see the Maven project page. To use Maven to build the Synapse project, follow these simple steps:

  1. Install Maven. See here for instructions.
  2. Go to the synapse folder in the command prompt and type maven.
  3. Maven will then automatically download all the jars, compile, test and build the Synapse deliverables.