diff --git a/.project b/.project
deleted file mode 100644
index 6a8c2199f..000000000
--- a/.project
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
- k9mail
-
-
- k9mail-Android-PullToRefresh
- k9mail-ckChangeLog
- k9mail-HoloColorPicker
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
diff --git a/Android.mk b/Android.mk
deleted file mode 100644
index 5d232f0fb..000000000
--- a/Android.mk
+++ /dev/null
@@ -1,47 +0,0 @@
-LOCAL_PATH:= $(call my-dir)
-include $(CLEAR_VARS)
-
-LOCAL_STATIC_JAVA_LIBRARIES += libcore
-LOCAL_STATIC_JAVA_LIBRARIES += libdom
-LOCAL_STATIC_JAVA_LIBRARIES += libio
-LOCAL_STATIC_JAVA_LIBRARIES += libjutf
-LOCAL_STATIC_JAVA_LIBRARIES += libjzlib
-LOCAL_STATIC_JAVA_LIBRARIES += libhtmlcleaner
-LOCAL_STATIC_JAVA_LIBRARIES += android-support-v4
-
-LOCAL_MODULE_TAGS := eng
-
-LOCAL_SRC_FILES := $(call all-java-files-under, src)
-LOCAL_SRC_FILES += $(call all-java-files-under, plugins/Android-PullToRefresh/library/src)
-LOCAL_SRC_FILES += $(call all-java-files-under, plugins/ckChangeLog/library/src)
-LOCAL_SRC_FILES += $(call all-java-files-under, plugins/HoloColorPicker/src)
-
-res_dir := res plugins/Android-PullToRefresh/library/res plugins/ckChangeLog/library/res plugins/HoloColorPicker/res
-LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dir))
-
-LOCAL_SDK_VERSION := current
-
-LOCAL_PACKAGE_NAME := Email
-
-LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true
-LOCAL_AAPT_FLAGS := --auto-add-overlay
-LOCAL_AAPT_FLAGS += --extra-packages de.cketti.library.changelog
-LOCAL_AAPT_FLAGS += --extra-packages android.support.v4.app
-LOCAL_AAPT_FLAGS += --extra-packages com.handmark.pulltorefresh.library
-LOCAL_AAPT_FLAGS += --extra-packages com.larswerkman.colorpicker
-
-LOCAL_PROGUARD_FLAG_FILES := proguard.cfg
-
-include $(BUILD_PACKAGE)
-##################################################
-include $(CLEAR_VARS)
-
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libcore:libs/apache-mime4j-core-0.7.2.jar
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libdom:libs/apache-mime4j-dom-0.7.2.jar
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libio:libs/commons-io-2.0.1.jar
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjutf:libs/jutf7-1.0.1-SNAPSHOT.jar
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libjzlib:libs/jzlib-1.0.7.jar
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES += libhtmlcleaner:libs/htmlcleaner-2.2.jar
-
-include $(BUILD_MULTI_PREBUILT)
-
diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2
deleted file mode 100644
index e69de29bb..000000000
diff --git a/build.xml b/build.xml
deleted file mode 100644
index 5f39d7e80..000000000
--- a/build.xml
+++ /dev/null
@@ -1,472 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Building version number ${current-version-name}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Building version number ${current-version-name}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No changelog for ${version-name}.
-
-
-
-
-
-
-
-
-
- Uncomitted changelog edits.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Temporary branch ${gh-pages-tmp} exists (but should not).
-
-
-
-
-
-
-
-
-
-
- A git tag for version ${version-name} already exists (but should not).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Setting version to ${version-name}
-
-
-
-
-
-
-
-
-
- Bumped K-9 to ${version-name}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Creating library ${rclib} for remote control applications
-
-
-
-
- Uploading to Google Code using Google::Code::Upload
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Additional targets:
-
- rclib: Creates library for remote control applications.
- astyle: Make K-9's source look like it's supposed to.
- eclipse: Apply template Eclipse settings.
- javadoc: Javadoc output to javadoc/. ANDROID_HOME environment
- variable must be set (i.e. /opt/android-sdk-linux/).
- lint-xml: Lint output lint-results.xml.
- lint-html: Lint output to lint-results.html.
- monkey: Runs monkey on the running emulator. Change the
- defaults -Dmonkey.seed=NUM and -Dmonkey.count=NUM
- from 0 and 200, respectively.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/build_common.xml b/build_common.xml
deleted file mode 100644
index 4b668eae4..000000000
--- a/build_common.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/compile-only-libs/android-support-v4-src.zip b/compile-only-libs/android-support-v4-src.zip
deleted file mode 100644
index bc819938d..000000000
Binary files a/compile-only-libs/android-support-v4-src.zip and /dev/null differ
diff --git a/compile-only-libs/android-support-v4.jar b/compile-only-libs/android-support-v4.jar
deleted file mode 100644
index 428bdbc02..000000000
Binary files a/compile-only-libs/android-support-v4.jar and /dev/null differ
diff --git a/compile-only-libs/junit-4.8.2.jar b/compile-only-libs/junit-4.8.2.jar
deleted file mode 100644
index 5b4bb849a..000000000
Binary files a/compile-only-libs/junit-4.8.2.jar and /dev/null differ
diff --git a/compile-only-libs/mockito-all-1.8.5.jar b/compile-only-libs/mockito-all-1.8.5.jar
deleted file mode 100644
index 4b0395ed8..000000000
Binary files a/compile-only-libs/mockito-all-1.8.5.jar and /dev/null differ
diff --git a/libs/apache-mime4j-core-0.7.2.jar b/libs/apache-mime4j-core-0.7.2.jar
deleted file mode 100644
index b5c225b5d..000000000
Binary files a/libs/apache-mime4j-core-0.7.2.jar and /dev/null differ
diff --git a/libs/apache-mime4j-dom-0.7.2.jar b/libs/apache-mime4j-dom-0.7.2.jar
deleted file mode 100644
index 0cdd3ce33..000000000
Binary files a/libs/apache-mime4j-dom-0.7.2.jar and /dev/null differ
diff --git a/libs/commons-io-2.0.1.jar b/libs/commons-io-2.0.1.jar
deleted file mode 100644
index 5b64b7d6c..000000000
Binary files a/libs/commons-io-2.0.1.jar and /dev/null differ
diff --git a/libs/htmlcleaner-2.2-all.zip b/libs/htmlcleaner-2.2-all.zip
deleted file mode 100644
index a20cedf53..000000000
Binary files a/libs/htmlcleaner-2.2-all.zip and /dev/null differ
diff --git a/libs/htmlcleaner-2.2.jar b/libs/htmlcleaner-2.2.jar
deleted file mode 100644
index cc922d06b..000000000
Binary files a/libs/htmlcleaner-2.2.jar and /dev/null differ
diff --git a/libs/jutf7-1.0.1-SNAPSHOT.jar b/libs/jutf7-1.0.1-SNAPSHOT.jar
deleted file mode 100644
index 47cdc992d..000000000
Binary files a/libs/jutf7-1.0.1-SNAPSHOT.jar and /dev/null differ
diff --git a/libs/jzlib-1.0.7.jar b/libs/jzlib-1.0.7.jar
deleted file mode 100644
index fae844436..000000000
Binary files a/libs/jzlib-1.0.7.jar and /dev/null differ
diff --git a/plugins/Android-PullToRefresh/library/.project b/plugins/Android-PullToRefresh/library/.project
deleted file mode 100644
index 2f5f232bb..000000000
--- a/plugins/Android-PullToRefresh/library/.project
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- k9mail-Android-PullToRefresh
-
-
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
diff --git a/plugins/Android-PullToRefresh/library/pom.xml b/plugins/Android-PullToRefresh/library/pom.xml
deleted file mode 100644
index 381eb5375..000000000
--- a/plugins/Android-PullToRefresh/library/pom.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
- 4.0.0
-
- com.github.chrisbanes.pulltorefresh
- library
- apklib
- Android-PullToRefresh Library
-
-
- com.github.chrisbanes.pulltorefresh
- parent
- 2.1.1
-
-
-
-
- com.google.android
- android
-
-
-
-
-
- com.jayway.maven.plugins.android.generation2
- android-maven-plugin
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
-
-
-
-
diff --git a/plugins/Android-PullToRefresh/library/project.properties b/plugins/Android-PullToRefresh/library/project.properties
deleted file mode 100644
index 8e4bc5fdc..000000000
--- a/plugins/Android-PullToRefresh/library/project.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=android-19
-android.library=true
diff --git a/plugins/Android-PullToRefresh/pom.xml b/plugins/Android-PullToRefresh/pom.xml
deleted file mode 100644
index 516f13b16..000000000
--- a/plugins/Android-PullToRefresh/pom.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
- 4.0.0
- com.github.chrisbanes.pulltorefresh
- parent
- pom
- 2.1.1
- Android-PullToRefresh Project
- Implementation of the Pull-to-Refresh UI Pattern for Android.
- https://github.com/chrisbanes/Android-PullToRefresh
-
- org.sonatype.oss
- oss-parent
- 7
-
-
-
- Apache License Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
-
-
-
- https://github.com/chrisbanes/Android-PullToRefresh
- scm:git:git://github.com/chrisbanes/Android-PullToRefresh.git
- scm:git:git@github.com:chrisbanes/Android-PullToRefresh.git
- v2.1.1
-
-
-
- Chris Banes
- http://about.me/chrisbanes
- chrisbanes
-
-
-
- library
- sample
- extras
-
-
-
- UTF-8
- UTF-8
- 1.6
- 4.1.1.4
- 16
- 3.2.0
-
-
-
-
- com.google.android
- android
- ${android.version}
- provided
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
-
- ${java.version}
-
-
-
- org.apache.maven.plugins
- maven-release-plugin
- 2.3.2
-
- v@{project.version}
-
-
-
- com.jayway.maven.plugins.android.generation2
- android-maven-plugin
- ${android-maven.version}
-
-
- ${android.platform}
-
- true
-
- ${sourceCompatibility}
-
- true
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
- 2.8
-
-
- com.google.android:android
-
- bin
-
- com.android.ide.eclipse.adt.ANDROID_FRAMEWORK
-
-
- com.android.ide.eclipse.adt.AndroidNature
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
- com.android.ide.eclipse.adt.PreCompilerBuilder
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- src
-
-
diff --git a/plugins/HoloColorPicker/.project b/plugins/HoloColorPicker/.project
deleted file mode 100644
index e43154074..000000000
--- a/plugins/HoloColorPicker/.project
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- k9mail-HoloColorPicker
-
-
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
diff --git a/plugins/HoloColorPicker/libs/android-support-v4.jar b/plugins/HoloColorPicker/libs/android-support-v4.jar
deleted file mode 100644
index 428bdbc02..000000000
Binary files a/plugins/HoloColorPicker/libs/android-support-v4.jar and /dev/null differ
diff --git a/plugins/HoloColorPicker/pom.xml b/plugins/HoloColorPicker/pom.xml
deleted file mode 100644
index 072a73da4..000000000
--- a/plugins/HoloColorPicker/pom.xml
+++ /dev/null
@@ -1,131 +0,0 @@
-
-
- 4.0.0
- com.larswerkman
- colorpicker
- apklib
- Holo ColorPicker
- A Holo themed colorpicker designed by Marie Schweiz and Nick Butcher.
- https://github.com/LarsWerkman/HoloColorPicker
-
- org.sonatype.oss
- oss-parent
- 7
-
-
-
- Apache License Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
-
-
-
- https://github.com/LarsWerkman/HoloColorPicker
- scm:git:git://github.com/LarsWerkman/HoloColorPicker.git
- scm:git:git@github.com:LarsWerkman/HoloColorPicker.git
-
-
-
- Lars Werkman
- http://www.androidviews.net/
- LarsWerkman
-
-
-
-
- UTF-8
- UTF-8
- 1.6
- 4.1.1.4
- 16
- 3.2.0
- r99
-
-
-
- com.google.android
- android
- ${android.version}
- provided
-
-
- com.google.android
- support-v4
- ${android-support.version}
- system
- ${basedir}/libs/android-support-v4.jar
-
-
-
-
-
- com.jayway.maven.plugins.android.generation2
- android-maven-plugin
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
-
- ${java.version}
-
-
-
- org.apache.maven.plugins
- maven-release-plugin
- 2.3.2
-
- v@{project.version}
-
-
-
- com.jayway.maven.plugins.android.generation2
- android-maven-plugin
- ${android-maven.version}
-
-
- ${android.platform}
-
- true
-
- ${sourceCompatibility}
-
- true
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
- 2.8
-
-
- com.google.android:android
-
- bin
-
- com.android.ide.eclipse.adt.ANDROID_FRAMEWORK
-
-
- com.android.ide.eclipse.adt.AndroidNature
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
- com.android.ide.eclipse.adt.PreCompilerBuilder
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- src
-
-
diff --git a/plugins/HoloColorPicker/project.properties b/plugins/HoloColorPicker/project.properties
deleted file mode 100644
index 91d2b0246..000000000
--- a/plugins/HoloColorPicker/project.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system edit
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-#
-# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
-#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
-
-# Project target.
-target=android-19
-android.library=true
diff --git a/plugins/ckChangeLog/library/.project b/plugins/ckChangeLog/library/.project
deleted file mode 100644
index 70252a0b5..000000000
--- a/plugins/ckChangeLog/library/.project
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- k9mail-ckChangeLog
-
-
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
diff --git a/plugins/ckChangeLog/library/pom.xml b/plugins/ckChangeLog/library/pom.xml
deleted file mode 100644
index 62c598cc6..000000000
--- a/plugins/ckChangeLog/library/pom.xml
+++ /dev/null
@@ -1,123 +0,0 @@
-
-
- 4.0.0
- de.cketti.ckChangeLog
- library
- apklib
- ckChangeLog Library
- An Android Library to display a Change Log
- https://github.com/cketti/ckChangeLog
-
- org.sonatype.oss
- oss-parent
- 7
-
-
-
- Apache License Version 2.0
- http://www.apache.org/licenses/LICENSE-2.0.txt
- repo
-
-
-
- https://github.com/cketti/ckChangeLog
- scm:git:git://github.com/cketti/ckChangeLog.git
- scm:git:git@github.com:cketti/ckChangeLog.git
-
-
-
- Christian Ketterer
- http://cketti.de/
- cketti
-
-
-
-
- UTF-8
- UTF-8
- 1.6
- 4.1.1.4
- 16
- 3.2.0
-
-
-
- com.google.android
- android
- ${android.version}
- provided
-
-
-
-
-
- com.jayway.maven.plugins.android.generation2
- android-maven-plugin
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
-
- ${java.version}
-
-
-
- org.apache.maven.plugins
- maven-release-plugin
- 2.3.2
-
- v@{project.version}
-
-
-
- com.jayway.maven.plugins.android.generation2
- android-maven-plugin
- ${android-maven.version}
-
-
- ${android.platform}
-
- true
-
- ${sourceCompatibility}
-
- true
-
-
- org.apache.maven.plugins
- maven-eclipse-plugin
- 2.8
-
-
- com.google.android:android
-
- bin
-
- com.android.ide.eclipse.adt.ANDROID_FRAMEWORK
-
-
- com.android.ide.eclipse.adt.AndroidNature
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
- com.android.ide.eclipse.adt.PreCompilerBuilder
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- src
-
-
\ No newline at end of file
diff --git a/plugins/ckChangeLog/library/project.properties b/plugins/ckChangeLog/library/project.properties
deleted file mode 100644
index 91d2b0246..000000000
--- a/plugins/ckChangeLog/library/project.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system edit
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-#
-# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
-#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
-
-# Project target.
-target=android-19
-android.library=true
diff --git a/plugins/openpgp-api-library/.project b/plugins/openpgp-api-library/.project
deleted file mode 100644
index d36aa689f..000000000
--- a/plugins/openpgp-api-library/.project
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- k9mail-openpgp-api-library
-
-
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
diff --git a/plugins/openpgp-api-library/project.properties b/plugins/openpgp-api-library/project.properties
deleted file mode 100644
index 91d2b0246..000000000
--- a/plugins/openpgp-api-library/project.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system edit
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-#
-# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
-#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
-
-# Project target.
-target=android-19
-android.library=true
diff --git a/project.properties b/project.properties
deleted file mode 100644
index 1f49bd1ff..000000000
--- a/project.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-
-# Indicates whether an apk should be generated for each density.
-split.density=false
-java.encoding=utf8
-# Project target.
-target=android-19
-extensible.libs.classpath=compile-only-libs
-android.library.reference.1=plugins/Android-PullToRefresh/library
-android.library.reference.2=plugins/ckChangeLog/library
-android.library.reference.3=plugins/HoloColorPicker
-android.library.reference.4=plugins/openpgp-api-library
diff --git a/tests-on-jvm/.classpath b/tests-on-jvm/.classpath
deleted file mode 100644
index aa8143d4e..000000000
--- a/tests-on-jvm/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/tests-on-jvm/.project b/tests-on-jvm/.project
deleted file mode 100644
index 7ab8d956c..000000000
--- a/tests-on-jvm/.project
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
- tests-on-jvm
-
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
-
- org.eclipse.jdt.core.javanature
-
-
diff --git a/tests-on-jvm/gradle/wrapper/gradle-wrapper.jar b/tests-on-jvm/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index 3c7abdf12..000000000
Binary files a/tests-on-jvm/gradle/wrapper/gradle-wrapper.jar and /dev/null differ
diff --git a/tests-on-jvm/gradle/wrapper/gradle-wrapper.properties b/tests-on-jvm/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index 7b73a22d8..000000000
--- a/tests-on-jvm/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Tue Apr 29 15:27:38 JST 2014
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-bin.zip
diff --git a/tests-on-jvm/gradlew b/tests-on-jvm/gradlew
deleted file mode 100755
index 91a7e269e..000000000
--- a/tests-on-jvm/gradlew
+++ /dev/null
@@ -1,164 +0,0 @@
-#!/usr/bin/env bash
-
-##############################################################################
-##
-## Gradle start up script for UN*X
-##
-##############################################################################
-
-# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-DEFAULT_JVM_OPTS=""
-
-APP_NAME="Gradle"
-APP_BASE_NAME=`basename "$0"`
-
-# Use the maximum available, or set MAX_FD != -1 to use that value.
-MAX_FD="maximum"
-
-warn ( ) {
- echo "$*"
-}
-
-die ( ) {
- echo
- echo "$*"
- echo
- exit 1
-}
-
-# OS specific support (must be 'true' or 'false').
-cygwin=false
-msys=false
-darwin=false
-case "`uname`" in
- CYGWIN* )
- cygwin=true
- ;;
- Darwin* )
- darwin=true
- ;;
- MINGW* )
- msys=true
- ;;
-esac
-
-# For Cygwin, ensure paths are in UNIX format before anything is touched.
-if $cygwin ; then
- [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
-fi
-
-# Attempt to set APP_HOME
-# Resolve links: $0 may be a link
-PRG="$0"
-# Need this for relative symlinks.
-while [ -h "$PRG" ] ; do
- ls=`ls -ld "$PRG"`
- link=`expr "$ls" : '.*-> \(.*\)$'`
- if expr "$link" : '/.*' > /dev/null; then
- PRG="$link"
- else
- PRG=`dirname "$PRG"`"/$link"
- fi
-done
-SAVED="`pwd`"
-cd "`dirname \"$PRG\"`/" >&-
-APP_HOME="`pwd -P`"
-cd "$SAVED" >&-
-
-CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
-
-# Determine the Java command to use to start the JVM.
-if [ -n "$JAVA_HOME" ] ; then
- if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
- # IBM's JDK on AIX uses strange locations for the executables
- JAVACMD="$JAVA_HOME/jre/sh/java"
- else
- JAVACMD="$JAVA_HOME/bin/java"
- fi
- if [ ! -x "$JAVACMD" ] ; then
- die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
- fi
-else
- JAVACMD="java"
- which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-
-Please set the JAVA_HOME variable in your environment to match the
-location of your Java installation."
-fi
-
-# Increase the maximum file descriptors if we can.
-if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
- MAX_FD_LIMIT=`ulimit -H -n`
- if [ $? -eq 0 ] ; then
- if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
- MAX_FD="$MAX_FD_LIMIT"
- fi
- ulimit -n $MAX_FD
- if [ $? -ne 0 ] ; then
- warn "Could not set maximum file descriptor limit: $MAX_FD"
- fi
- else
- warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
- fi
-fi
-
-# For Darwin, add options to specify how the application appears in the dock
-if $darwin; then
- GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
-fi
-
-# For Cygwin, switch paths to Windows format before running java
-if $cygwin ; then
- APP_HOME=`cygpath --path --mixed "$APP_HOME"`
- CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
-
- # We build the pattern for arguments to be converted via cygpath
- ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
- SEP=""
- for dir in $ROOTDIRSRAW ; do
- ROOTDIRS="$ROOTDIRS$SEP$dir"
- SEP="|"
- done
- OURCYGPATTERN="(^($ROOTDIRS))"
- # Add a user-defined pattern to the cygpath arguments
- if [ "$GRADLE_CYGPATTERN" != "" ] ; then
- OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
- fi
- # Now convert the arguments - kludge to limit ourselves to /bin/sh
- i=0
- for arg in "$@" ; do
- CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
- CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
-
- if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
- eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
- else
- eval `echo args$i`="\"$arg\""
- fi
- i=$((i+1))
- done
- case $i in
- (0) set -- ;;
- (1) set -- "$args0" ;;
- (2) set -- "$args0" "$args1" ;;
- (3) set -- "$args0" "$args1" "$args2" ;;
- (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
- (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
- (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
- (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
- (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
- (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
- esac
-fi
-
-# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
-function splitJvmOpts() {
- JVM_OPTS=("$@")
-}
-eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
-JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
-
-exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/tests-on-jvm/gradlew.bat b/tests-on-jvm/gradlew.bat
deleted file mode 100644
index 8a0b282aa..000000000
--- a/tests-on-jvm/gradlew.bat
+++ /dev/null
@@ -1,90 +0,0 @@
-@if "%DEBUG%" == "" @echo off
-@rem ##########################################################################
-@rem
-@rem Gradle startup script for Windows
-@rem
-@rem ##########################################################################
-
-@rem Set local scope for the variables with windows NT shell
-if "%OS%"=="Windows_NT" setlocal
-
-@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
-set DEFAULT_JVM_OPTS=
-
-set DIRNAME=%~dp0
-if "%DIRNAME%" == "" set DIRNAME=.
-set APP_BASE_NAME=%~n0
-set APP_HOME=%DIRNAME%
-
-@rem Find java.exe
-if defined JAVA_HOME goto findJavaFromJavaHome
-
-set JAVA_EXE=java.exe
-%JAVA_EXE% -version >NUL 2>&1
-if "%ERRORLEVEL%" == "0" goto init
-
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:findJavaFromJavaHome
-set JAVA_HOME=%JAVA_HOME:"=%
-set JAVA_EXE=%JAVA_HOME%/bin/java.exe
-
-if exist "%JAVA_EXE%" goto init
-
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
-
-goto fail
-
-:init
-@rem Get command-line arguments, handling Windowz variants
-
-if not "%OS%" == "Windows_NT" goto win9xME_args
-if "%@eval[2+2]" == "4" goto 4NT_args
-
-:win9xME_args
-@rem Slurp the command line arguments.
-set CMD_LINE_ARGS=
-set _SKIP=2
-
-:win9xME_args_slurp
-if "x%~1" == "x" goto execute
-
-set CMD_LINE_ARGS=%*
-goto execute
-
-:4NT_args
-@rem Get arguments from the 4NT Shell from JP Software
-set CMD_LINE_ARGS=%$
-
-:execute
-@rem Setup the command line
-
-set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
-
-@rem Execute Gradle
-"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
-
-:end
-@rem End local scope for the variables with windows NT shell
-if "%ERRORLEVEL%"=="0" goto mainEnd
-
-:fail
-rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
-rem the _cmd.exe /c_ return code!
-if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
-exit /b 1
-
-:mainEnd
-if "%OS%"=="Windows_NT" endlocal
-
-:omega
diff --git a/tests/.classpath b/tests/.classpath
deleted file mode 100644
index 693c66629..000000000
--- a/tests/.classpath
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/tests/.project b/tests/.project
deleted file mode 100644
index b1fe8b246..000000000
--- a/tests/.project
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
- k9mail-tests
-
-
- k9mail
-
-
-
- com.android.ide.eclipse.adt.ResourceManagerBuilder
-
-
-
-
- com.android.ide.eclipse.adt.PreCompilerBuilder
-
-
-
-
- org.eclipse.jdt.core.javabuilder
-
-
-
-
- com.android.ide.eclipse.adt.ApkBuilder
-
-
-
-
-
- com.android.ide.eclipse.adt.AndroidNature
- org.eclipse.jdt.core.javanature
-
-
diff --git a/tests/ant.properties b/tests/ant.properties
deleted file mode 100644
index da0e730c5..000000000
--- a/tests/ant.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# This file is used to override default values used by the Ant build system.
-#
-# This file must be checked in Version Control Systems, as it is
-# integral to the build system of your project.
-
-# This file is only used by the Ant script.
-
-# You can use this to override default values such as
-# 'source.dir' for the location of your java source folder and
-# 'out.dir' for the location of your output folder.
-
-# You can also use it define how the release builds are signed by declaring
-# the following properties:
-# 'key.store' for the location of your keystore and
-# 'key.alias' for the name of the key to use.
-# The password will be asked during the build when you use the 'release' target.
-
-tested.project.dir=../
diff --git a/tests/build.xml b/tests/build.xml
deleted file mode 100644
index e41722589..000000000
--- a/tests/build.xml
+++ /dev/null
@@ -1,259 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- WARNING: Code Coverage is currently only supported on the emulator and rooted devices.
-
-
-
-
-
-
-
- Downloading coverage file into project directory...
-
-
-
-
-
-
- Extracting coverage report...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Saving the report file in ${out.absolute.dir}/coverage.html
-
-
-
-
-
-
- Saving the JUnit test report as ${junit-file}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Additional targets:
- javadoc: Javadoc output to javadoc/. ANDROID_HOME environment
- variable must be set (i.e. /opt/android-sdk-linux/).
- lint-xml: Lint output lint-results.xml.
- lint-html: Lint output to lint-results.html.
- test: Overridden -- also outputs junit-report.xml.
- artifacts: Copies the apks as unique CloudBees artifacts. Usage:
- ant [emma] [debug] artifacts
-
-
-
-
-
-
-
-
diff --git a/tests/clean-tests.sh b/tests/clean-tests.sh
deleted file mode 100755
index 1995ed911..000000000
--- a/tests/clean-tests.sh
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/sh
-
-# clean and run all the tests on an emulator -- only one emulator should be running (a device can be attached).
-# will start and stop an emulator if no emulator is running.
-# name of emulator is given as an argument (no spaces in the name!), or "api7" if not given.
-# starting the emulator requires daemonize which requires a Unix-like system: http://software.clapper.org/daemonize/
-
-# clean
-ant all clean || exit 99
-
-# see if emulator is running, and uninstall package if so
-EMULATOR_ALREADY_RUNNING=false
-if adb devices | grep emulator | grep device$; then
- ant -Dadb.device.arg=-e uninstall || exit 98
- EMULATOR_ALREADY_RUNNING=true
-fi
-
-# build project and test project
-time ant emma debug artifacts || exit 1
-
-# start emulator if not running, and uninstall package
-if [ $EMULATOR_ALREADY_RUNNING == false ] ; then
- if [ -z $1 ]; then
- AVD_NAME=api7
- else
- AVD_NAME=$1
- fi
-
- echo starting emulator ${AVD_NAME}
- daemonize -o /tmp/${AVD_NAME}.stdout -e /tmp/${AVD_NAME}.stderr -p /tmp/${AVD_NAME}.pid -l /tmp/${AVD_NAME}.lock \
- $ANDROID_HOME/tools/emulator-arm -avd ${AVD_NAME} -no-audio -no-window -no-snapshot-save || exit 97
- ps ux | grep -f /tmp/${AVD_NAME}.pid | grep emulator || exit 96
- adb kill-server
- time adb start-server
- adb devices
- #sleep 7
- adb devices | grep emulator || exit 95
- echo adb -e wait-for-device
- time adb -e wait-for-device
- adb devices | grep device$ || exit 94
- ant -Dadb.device.arg=-e uninstall || exit 98
-fi
-
-# install project and test project, run tests
-time ant -Dadb.device.arg=-e emma installd test || exit 2
-
-# lint, javadoc, monkey
-cd ..
-time ant lint-xml || exit 3
-time ant javadoc || exit 4
-time ant -Dmonkey.count=200 -Dmonkey.seed=0 monkey || exit 5
-
-# kill emulator if this script started it
-if [ $EMULATOR_ALREADY_RUNNING == false ] ; then
- adb emu kill || exit 93
- sleep 1
- ! ps ux | grep -f /tmp/${AVD_NAME}.pid | grep emulator || exit 92
- rm -f /tmp/${AVD_NAME}.stdout /tmp/${AVD_NAME}.stderr /tmp/${AVD_NAME}.pid /tmp/${AVD_NAME}.lock
-fi
diff --git a/tests/project.properties b/tests/project.properties
deleted file mode 100644
index a5578ba09..000000000
--- a/tests/project.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-# This file is automatically generated by Android Tools.
-# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
-#
-# This file must be checked in Version Control Systems.
-#
-# To customize properties used by the Ant build system use,
-# "ant.properties", and override values to adapt the script to your
-# project structure.
-
-# Project target.
-target=android-19
diff --git a/tools/ant-contrib.jar b/tools/ant-contrib.jar
deleted file mode 100644
index 174cc8035..000000000
Binary files a/tools/ant-contrib.jar and /dev/null differ
diff --git a/tools/build-beta b/tools/build-beta
deleted file mode 100755
index 8061ec9ff..000000000
--- a/tools/build-beta
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/bash
-
-# The MIT License
-#
-# Copyright 2012 Ashley Willis
-#
-# Permission is hereby granted, free of charge, to any person obtaining a copy
-# of this software and associated documentation files (the "Software"), to deal
-# in the Software without restriction, including without limitation the rights
-# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-# copies of the Software, and to permit persons to whom the Software is
-# furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included in
-# all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-# THE SOFTWARE.
-
-# Based off original tools/build-beta by Jesse Vincent.
-
-# Works on OS X and Linux.
-
-# Temporarily rename an Android project for building.
-# Set the first 5 or 6 DIST_* and BETA_* to whatever you are going from and to.
-# Set PROJECT_DIR to the absolute path pf the main project.
-# Set TEST_DIR to the absolute path of the test project.
-# Then run this script with the same arguments you'd pass to ant. It can be
-# run from either $PROJECT_DIR or $TEST_DIR. It might require tweaks
-# depending on how your project is laid out.
-
-PROJECT_DIR=.
-TEST_DIR=${PROJECT_DIR}/tests
-
-DIST_TLD=com
-DIST_DOMAIN=fsck
-DIST_PROJECT=k9
-DIST_LOGTAG=k9
-DIST_PROJ_NAME=K9
-DIST_APP_NAME='\@string/app_name'
-
-BETA_TLD=com
-BETA_DOMAIN=fsck
-BETA_PROJECT=k9beta
-BETA_LOGTAG=k9beta
-BETA_PROJ_NAME='K9 Beta'
-BETA_APP_NAME='K-9 Beta'
-
-# Nothing below here should need to be changed.
-
-DIST_PACKAGE="${DIST_TLD}.${DIST_DOMAIN}.${DIST_PROJECT}"
-DIST_PATH="${DIST_TLD}/${DIST_DOMAIN}/${DIST_PROJECT}"
-
-BETA_PACKAGE="${BETA_TLD}.${BETA_DOMAIN}.${BETA_PROJECT}"
-BETA_PATH="${BETA_TLD}/${BETA_DOMAIN}/${BETA_PROJECT}"
-
-# convert to beta project:
-perl -pi -e"s|${DIST_APP_NAME}|${BETA_APP_NAME}|g" ${PROJECT_DIR}/AndroidManifest.xml
-perl -pi -e"s|${DIST_PACKAGE}|${BETA_PACKAGE}|g" ${PROJECT_DIR}/AndroidManifest.xml ${TEST_DIR}/AndroidManifest.xml
-perl -pi -e"s|${DIST_PROJ_NAME}|${BETA_PROJ_NAME}|g" ${PROJECT_DIR}/build.xml ${TEST_DIR}/build.xml
-perl -pi -e"s|LOG_TAG = \"${DIST_LOGTAG}\"|LOG_TAG = \"${BETA_LOGTAG}\"|" ${PROJECT_DIR}/src/${DIST_PATH}/${DIST_PROJ_NAME}.java
-find ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN} ${PROJECT_DIR}/res ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN} ${TEST_DIR}/res \
- -type f -print0 | xargs -0 perl -pi -e"s/${DIST_PACKAGE}(?=\W)/${BETA_PACKAGE}/g"
-if [[ "${DIST_PROJECT}" != "${BETA_PROJECT}" ]]; then
- mv ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${DIST_PROJECT} ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${BETA_PROJECT}
- mv ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${DIST_PROJECT} ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${BETA_PROJECT}
-fi
-if [[ "${DIST_DOMAIN}" != "${BETA_DOMAIN}" ]]; then
- mv ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN} ${PROJECT_DIR}/src/${DIST_TLD}/${BETA_DOMAIN}
- mv ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN} ${TEST_DIR}/src/${DIST_TLD}/${BETA_DOMAIN}
-fi
-if [[ "${DIST_TLD}" != "${BETA_TLD}" ]]; then
- mv ${PROJECT_DIR}/src/${DIST_TLD} ${PROJECT_DIR}/src/${BETA_TLD}
- mv ${TEST_DIR}/src/${DIST_TLD} ${TEST_DIR}/src/${BETA_TLD}
-fi
-
-# do ant and save exit status:
-ant $@
-MYEXIT=$?
-
-# convert back to normal project:
-if [[ "${DIST_TLD}" != "${BETA_TLD}" ]]; then
- mv ${PROJECT_DIR}/src/${BETA_TLD} ${PROJECT_DIR}/src/${DIST_TLD}
- mv ${TEST_DIR}/src/${BETA_TLD} ${TEST_DIR}/src/${DIST_TLD}
-fi
-if [[ "${DIST_DOMAIN}" != "${BETA_DOMAIN}" ]]; then
- mv ${PROJECT_DIR}/src//${DIST_TLD}/${BETA_DOMAIN} ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}
- mv ${TEST_DIR}/src//${DIST_TLD}/${BETA_DOMAIN} ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}
-fi
-if [[ "${DIST_PROJECT}" != "${BETA_PROJECT}" ]]; then
- mv ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${BETA_PROJECT} ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${DIST_PROJECT}
- mv ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${BETA_PROJECT} ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN}/${DIST_PROJECT}
-fi
-find ${PROJECT_DIR}/src/${DIST_TLD}/${DIST_DOMAIN} ${PROJECT_DIR}/res ${TEST_DIR}/src/${DIST_TLD}/${DIST_DOMAIN} ${TEST_DIR}/res \
- -type f -print0 | xargs -0 perl -pi -e"s/${BETA_PACKAGE}(?=\W)/${DIST_PACKAGE}/g"
-perl -pi -e"s|LOG_TAG = \"${BETA_LOGTAG}\"|LOG_TAG = \"${DIST_LOGTAG}\"|" ${PROJECT_DIR}/src/${DIST_PATH}/${DIST_PROJ_NAME}.java
-perl -pi -e"s|${BETA_PROJ_NAME}|${DIST_PROJ_NAME}|g" ${PROJECT_DIR}/build.xml ${TEST_DIR}/build.xml
-perl -pi -e"s|${BETA_PACKAGE}|${DIST_PACKAGE}|g" ${PROJECT_DIR}/AndroidManifest.xml ${TEST_DIR}/AndroidManifest.xml
-perl -pi -e"s|${BETA_APP_NAME}|${DIST_APP_NAME}|g" ${PROJECT_DIR}/AndroidManifest.xml
-
-# exit with value from ant:
-exit ${MYEXIT}