Project

General

Profile

Actions

DeprecatedSlideMeBuild » History » Revision 36

« Previous | Revision 36/38 (diff) | Next »
Aaron Williamson -, 02/10/2010 01:52 AM


= HOWTO build FLOSS Dispenser =

Install Maven

On Debian/Ubuntu (as root): {{{
apt-get install maven2
}}}

Download the Android SDK

Unfortunately, the most convenient way to get the SDK is distributed by the Android ''Open Source'' Project, but that copy contains proprietary Google code and is wrapped in a restrictive proprietary license agreement. You can obtain a free SDK by following the [wiki:FreeSDK directions] in our wiki.

Install maven-android-sdk-deployer

This will allow us to set up a Maven dependency for particular versions of Android. {{{
export ANDROID_HOME=/path/to/sdk/
}}} * Install maven-android-sdk-deployer * cd into the directory where you unpacked the maven-android-sdk-deployer sources. * Install maven-android-sdk-deployer according to the directions in the README file (either just `mvn install` for all platforms or `mvn install -P [platform]` if you want to install for just one).

Add SDK /tools/ directories to PATH

NOTE: not sure what is the preferred way to do this. You need not only sdk/tools but also sdk/platforms/[platform]/tools/

Get FLOSS Dispenser sources {{{
mkdir fd-readonly
cd fd-readonly
git clone git://gitorious.org/replicant/floss-dispenser.git
}}} Download necessary libraries and build FLOSS Dispenser {{{
mvn clean install
}}}

Updated by Aaron Williamson - about 15 years ago · 36 revisions

Also available in: PDF HTML TXT