diff --git a/README.md b/README.md new file mode 100644 index 0000000000..3ba9f73a43 --- /dev/null +++ b/README.md @@ -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 \ No newline at end of file diff --git a/README.setup b/README.setup deleted file mode 100644 index 3d592e0673..0000000000 --- a/README.setup +++ /dev/null @@ -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 diff --git a/SETUP.md b/SETUP.md new file mode 100644 index 0000000000..d527d4feaa --- /dev/null +++ b/SETUP.md @@ -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! + + + + + + diff --git a/setup_env.bat b/setup_env.bat new file mode 100644 index 0000000000..c0bfeb4f3d --- /dev/null +++ b/setup_env.bat @@ -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 . \ No newline at end of file