8dda2824e06b2ec0e4e1fdab409a52729a0b337e
wiki/racecommittee-app-environment.md
| ... | ... | @@ -1,10 +1,39 @@ |
| 1 | 1 | # RaceCommittee App (Build Environment) |
| 2 | 2 | |
| 3 | -Building the RaceCommittee App has been integrated into the maven build process of the project. This document outlines how this environment is setup. Use this description whenever you need to set it up again. |
|
| 3 | +Building the RaceCommittee App has been integrated into the maven build process of the project. This document outlines how this environment is setup. Use this description whenever you need to set it up again (build-server, Maven repo, ...) |
|
| 4 | 4 | |
| 5 | 5 | ## Android SDK |
| 6 | 6 | |
| 7 | -Rarar. |
|
| 7 | +On all build servers the Android SDK has to be installed. Pick up the [SDK Tools](http://developer.android.com/sdk/index.html) and install them on your server. Set an environment variable _ANDROID_HOME_ pointing to the install directory. It's a good idea to append some of the tools to your path: |
|
| 8 | + |
|
| 9 | + PATH=$PATH:$ANDROID_HOME/tools |
|
| 10 | + PATH=$PATH:$ANDROID_HOME/platform-tools |
|
| 11 | + |
|
| 12 | +Now it's time to install all the needed SDK components. List all available components by issuing |
|
| 13 | + |
|
| 14 | + ./android list sdk --no-ui --all |
|
| 15 | + |
|
| 16 | +Each component will have a component ID attached. Mark down all needed component IDs. Install them by issuing |
|
| 17 | + |
|
| 18 | + ./android update sdk --no-ui --all --filter [your-ids-comma-separated] |
|
| 19 | + |
|
| 20 | +At the time being the RaceCommittee App needs the following components: |
|
| 21 | + |
|
| 22 | + 1- Android SDK Tools, revision 22.3 |
|
| 23 | + 2- Android SDK Platform-tools, revision 19 |
|
| 24 | + 3- Android SDK Build-tools, revision 19 |
|
| 25 | + 9- SDK Platform Android 4.4, API 19, revision 1 |
|
| 26 | + 11- SDK Platform Android 4.2.2, API 17, revision 2 |
|
| 27 | + 15- SDK Platform Android 3.2, API 13, revision 1 |
|
| 28 | + 54- Google APIs, Android API 19, revision 1 |
|
| 29 | + 56- Google APIs, Android API 17, revision 3 |
|
| 30 | + 61- Google APIs, Android API 13, revision 1 |
|
| 31 | + 81- Android Support Library, revision 19 |
|
| 32 | + 86- Google Play services, revision 13 |
|
| 33 | + |
|
| 34 | +Install them by |
|
| 35 | + |
|
| 36 | + ./android update sdk --no-ui --all --filter 1,2,3,9,11,15,54,56,61,81,86 |
|
| 8 | 37 | |
| 9 | 38 | ## Maven |
| 10 | 39 |