setup_env.bat included and improved setup text a bit

This commit is contained in:
zerginator 2013-03-13 22:32:44 +01:00
parent f764980474
commit 8c71e582ff
4 changed files with 36 additions and 13 deletions

6
README.md Normal file
View file

@ -0,0 +1,6 @@
This is the android client for [owncloud][0].
Make sure you read [SETUP.md][1] when you start working on this project.
[0]: https://github.com/owncloud/core
[1]: https://raw.github.com/owncloud/android/master/SETUP.md

View file

@ -1,13 +0,0 @@
If you want to start development of ownCloud android client you have two way to do so
(a) building with console
(b) building with eclipse
1. Use setup_env.sh
2a. ant clean;ant debug
2b. Open Eclipse and import actionbarsherlock/library project to your workspace
after those space you should be good to go.
HAVE FUN!
NOTE: You must have 'tools' and 'platforms-tools' in your path in order to run setup_env.sh

23
SETUP.md Normal file
View file

@ -0,0 +1,23 @@
If you want to start development of ownCloud android client you have two way to do so:
1. Building with console:
- Use setup_env.sh or setup_env.bat
- NOTE: You must have git, ant/bin, android/tools in your enviroment path
2. Building with eclipse:
- Run ant clean debug
- Open Eclipse and import *actionbarsherlock/library* project to your workspace
- NOTE: You must have 'tools' and 'platforms-tools' in your path in order to run setup_env.sh
After those actions you should be good to go.
HAVE FUN!

7
setup_env.bat Normal file
View file

@ -0,0 +1,7 @@
git submodule init
git submodule update
android.bat update project -p actionbarsherlock\library --target 1
android.bat update project -p . --target 1
cp third_party\android-support-library\android-support-v4.jar actionbarsherlock\library\libs\android-support-v4.jar
cd tests
android.bat update test-project -m .. -p .