Web Browsing of SVN

To browse via the web use the ViewVC interface:

Or to browse the source tree directly:

Web Browing Using FishEye

A hearty thanks to Atlassian for providing FishEye hosting for ActiveMQ. Below is the URL to browse the Subversion repo via FishEye:

Checking out from SVN

Make sure you have SVN (subversion) installed; if not download it from the subversion site

svn co https://svn.apache.org/repos/asf/activemq/trunk activemq

Only project developers can commit to the SVN tree via this method. SSH must be installed on your client machine. Enter your site password when prompted.

Building the code

To then build the code see Building.

SVN and Eclipse

See this article for getting started guides. Basically you need subclipse

Branches

We use the trunk for the next main release of ActiveMQ. So all development of new features occurs on trunk. However for production support we use a branch for any bug fixes on the previous major release.

e.g. the 4.1 branch of ActiveMQ is here:

https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1/

and trunk is 4.1-SNAPSHOT

Backporting bug fixes

Developers typically work on trunk most of the time. When bug fixes are applied you typically want to backport them to the previous branch. To be able to backport to the previous production branch follow these instructions.

  • checkout trunk as above
  • checkout the previous branch such as via
    svn co https://svn.apache.org/repos/asf/activemq/branches/activemq-4.0/
  • when you have commit something to trunk take note of the version number of the change (lets call it Y)
  • in the branch checkout type the following command
    svn merge -r X:Y https://svn.apache.org/repos/asf/activemq/trunk/
    where X = Y-1

e.g.

svn merge -r 411787:411788 https://svn.apache.org/repos/asf/activemq/trunk/

To make this a little easier to do we've created a script called activemq-backport.sh which is available in the Apache ActiveMQ Scripts repository.

To run this script just pass the revision of the commit you made on trunk from the directory of a branch checkout. e.g. from the activemq-4.0 checkout type

activemq-backport.sh 413621

Then you can review the changes made and if they are OK you can commit them.

To work with the ActiveMQ 3.x branch of ActiveMQ then use the following

For anonymous access

svn co http://svn.codehaus.org/activemq/branches/activemq-3/activemq/

Or if you are a committer

svn co https://svn.codehaus.org/activemq/branches/activemq-3/activemq/

Or you can browse the code here:

http://svn.activemq.codehaus.org/

Graphic Design By Hiram