Get the latest source code


Apollo stores its source code in a SVN repository at this location:

If you are new to SVN you might have a look at the Version Control with Subversion book.

Browsing Source

You can browse the source code online by using any of the following interfaces web interfaces:

How to Checkout

You must first install a SVN client. Then you check out the project using the following:

svn co http://svn.apache.org/repos/asf/activemq/activemq-apollo/trunk apollo
  cd apollo

Now you probably want to try build the Apollo code

Committer Access

Committers should check out the the source code using the HTTPS url.

Only project developers can commit to the SVN tree via this method.

Contributing patches

If you are not yet a committer but want to contribute some patch (we love contributions!) here's how you can submit patches

We gladly accept patches if you can find ways to improve, tune or fix Apollo in some way.

Most IDEs can create nice patches now very easily. e.g. in Eclipse just right click on a file/directory and select Team -> Create Patch. Then just save the patch as a file and then submit it. (You may have to click on Team -> Share... first to enable the Subversion options). Incidentally if you are an Eclipse user you should install the subclipse plugin.

If you're a command line person try the following to create the patch

diff -u Main.java.orig Main.java >> patchfile.txt

or svn diff Main.java >> patchfile.txt

Submitting patches

The easiest way to submit a patch is to create a new issue at our Issue Tracker, attach the patch, tick the Patch Attached button on the issue then fire off an email to the mailing lists.

Next steps

Once you have checked out the code try following

Git Clone

You can get a git clone of the svn repository using the following script:

  mkdir activemq-apollo
  cd activemq-apollo
  git init
  echo "Updating .git/authors.txt"
  cd ".git"
  curl "http://git.apache.org/authors.txt" > authors.txt
  cd ".."
  git config svn.authorsfile ".git/authors.txt"
  git svn init --prefix=asf/ --tags=tags --trunk=trunk --branches=branches https://svn.apache.org/repos/asf/activemq/activemq-apollo
  git svn fetch --log-window-size 10000
  git svn rebase