Fix owncloudnewsreader, very ugly recipe due to abuse of apache ant

This commit is contained in:
Daniel Martí 2013-11-07 16:28:41 +01:00
parent ca543c8a18
commit 49f6e9a2f2
2 changed files with 13 additions and 1 deletions

View file

@ -78,11 +78,19 @@ Build:0.4.10,33
Build:0.5.2,37 Build:0.5.2,37
commit=0.5.2 commit=0.5.2
rm=OwncloudNewsReader.apk rm=OwncloudNewsReader.apk
srclibs=ActionBarSherlock@4.4.0;PullToRefresh@319024754481f23e;AppRater@v1.0.8;ChangeLog@v1.3.0 srclibs=ActionBarSherlock@4.4.0;PullToRefresh@319024754481f23e;AppRater@v1.0.8;ChangeLog@v1.3.0;MessageBar@8c0068385a
prebuild=echo "android.library.reference.1=$$ActionBarSherlock$$" >> project.properties && \ prebuild=echo "android.library.reference.1=$$ActionBarSherlock$$" >> project.properties && \
echo "android.library.reference.2=$$PullToRefresh$$" >> project.properties && \ echo "android.library.reference.2=$$PullToRefresh$$" >> project.properties && \
echo "android.library.reference.3=$$AppRater$$" >> project.properties && \ echo "android.library.reference.3=$$AppRater$$" >> project.properties && \
echo "android.library.reference.4=$$ChangeLog$$" >> project.properties && \ echo "android.library.reference.4=$$ChangeLog$$" >> project.properties && \
echo "android.library.reference.5=$$MessageBar$$" >> project.properties && \
(cd $$ChangeLog$$ && \
echo -e 'android.library=true\ntarget=android-18' > project.properties && \
mv src old && \
mv old/main/java src && \
mv old/main/res res && \
mv old/main/AndroidManifest.xml . && \
$$SDK$$/tools/android update project -p .) && \
cp libs/android-support-v4.jar $$ActionBarSherlock$$/libs/ cp libs/android-support-v4.jar $$ActionBarSherlock$$/libs/
Auto Update Mode:None Auto Update Mode:None

4
srclibs/MessageBar.txt Normal file
View file

@ -0,0 +1,4 @@
Repo Type:git
Repo:https://github.com/MichaelFlisar/MessageBar.git
Update Project:Yes