diff --git a/.gitignore b/.gitignore
index 4f54aeced..8345f35d2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,5 +7,6 @@
/build.xml
*~
/.idea/
+/.project
/*.iml
out
diff --git a/ant-prepare.sh b/ant-prepare.sh
index 5463a67d5..51d53ace7 100755
--- a/ant-prepare.sh
+++ b/ant-prepare.sh
@@ -7,4 +7,4 @@ android update project --path . --name F-Droid
# technically optional, needed for the tests
cd test
-android update test-project --path ./ --main ../
+android update test-project --path . --main ../ --name test
diff --git a/test/.gitignore b/test/.gitignore
index 24e19e4db..8345f35d2 100644
--- a/test/.gitignore
+++ b/test/.gitignore
@@ -4,7 +4,9 @@
/gen/
/build/
/.gradle/
+/build.xml
*~
/.idea/
+/.project
/*.iml
out
diff --git a/test/.project b/test/.project
deleted file mode 100644
index 0c2b67ff9..000000000
--- a/test/.project
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
- fdroid-test
-
-
-
-
-
- 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/test/build.xml b/test/build.xml
deleted file mode 100644
index acf244066..000000000
--- a/test/build.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-