--- title: Development layout: default ---

Development

The ActionBarSherlock library along with its sample applications are all built using Apache Maven. Maven will automate the process of compiling and assembling the apklib and the apk for each project.

Using Maven is NOT a requirement for contributing to development. It is merely used for automated testing and releasing of the libary and sample applications.

IDE

Even though the project uses Maven, each folder within the repository still maintains the standard Android project layout. By specifying the desired folder as an existing source for a new Android project, you should be able to successfully import the sources.

The library should be created as a project first. Any sample applications you also wish to create projects for can then be created.

Prerequisites

Maven compilation requires that you have installed the Android SDK into your local maven repository. This can be done automatically by the SDK Deployer.

Follow the instructions on setting up the SDK Deployer. Then, execute the following command in the SDK Deployer folder:

mvn install -P 3.1

This will install the Android SDK 3.1 into the local repository.

Compiling

Once the prerequisites have been successfully installed, building is as easy as running mvn clean package. The apklib for the library will be located in the library/target/ folder.

An apk for each of the samples are their respective target/ folders.

Getting The Code

The source code repository is hosted on GitHub at JakeWharton/ActionBarSherlock.

The GitHub project is also the location of the issue tracker as well as the source code to this website.

View project on GitHub