- #As default it updates the ant scripts
- android update project -p "$DIRECTORY"/library -n ActionBarSherlock --target android-19
- android update lib-project -p owncloud-android-library
- android update project -p .
- android update project -p oc_jb_workaround
- cp third_party/android-support-library/android-support-v4.jar actionbarsherlock/library/libs/android-support-v4.jar
- android update test-project -p tests -m ..
- fi
+ #Gets the owncloud-android-library
+ git submodule init
+ git submodule update
+
+ #Prepare project android-support-appcompat-v7 ; JAR file is not enough, includes resources
+ android update lib-project -p libs/android-support-appcompat-v7-exploded-aar --target android-22
+
+ #As default it updates the ant scripts
+ android update lib-project -p owncloud-android-library
+ android update project -p .
+ android update project -p oc_jb_workaround
+ android update test-project -p tests -m ..